summaryrefslogtreecommitdiff
path: root/machines/kusanagi
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-07-30 21:49:42 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-07-30 21:49:42 -0500
commit8bba2a28a9108a780f4c10986bc9795ad878b299 (patch)
tree1dbfd8d7179d4527e450f1f7dee9cc1fd2290558 /machines/kusanagi
parentecdd33b5694c1d5a4ed51e93849c93958eedaff4 (diff)
kusanagi: drop full GNOME session, keep just Nautilus + Loupe
The GNOME desktop was only enabled for its apps, but it pulled in ibus, whose XDG autostart fired ibus-daemon under our niri session and popped an "IBus has been started" notification on every login. Remove services.desktopManager.gnome (and the unused X server/GDM) and instead install nautilus and loupe directly, enabling gvfs so Nautilus keeps trash, network shares, and removable-media mounting. Assisted-by: Claude:claude-opus-4-8
Diffstat (limited to 'machines/kusanagi')
-rw-r--r--machines/kusanagi/desktop.nix25
1 files changed, 15 insertions, 10 deletions
diff --git a/machines/kusanagi/desktop.nix b/machines/kusanagi/desktop.nix
index 368022e..15bec13 100644
--- a/machines/kusanagi/desktop.nix
+++ b/machines/kusanagi/desktop.nix
@@ -1,19 +1,20 @@
# kusanagi-only desktop extras. The shared niri/dark/audio/firefox base comes
# from ../../profiles/desktop.nix (imported in ./default.nix); this file holds
-# the workstation's GNOME session, printing/scanning, pro-audio, richer fonts,
-# and cursor theme. (Hardware-specific audio/NAS/server config lives in
+# a few GNOME apps (no GNOME session), printing/scanning, pro-audio, richer
+# fonts, and cursor theme. (Hardware-specific audio/NAS/server config lives in
# ./default.nix.)
{ pkgs, ... }:
{
- # --- X11 + GNOME (alongside the niri session) ---
- services.xserver.enable = true;
- services.xserver.xkb = {
- layout = "us";
- variant = "";
- };
- services.displayManager.gdm.enable = false;
- services.desktopManager.gnome.enable = true;
+ # --- GNOME apps without the GNOME session ---
+ # We run niri, not GNOME, so the full `services.desktopManager.gnome` isn't
+ # enabled: it dragged in gnome-shell, GDM, an X server, and — the reason this
+ # went away — ibus, whose XDG autostart fired `ibus-daemon` under niri and
+ # popped the "IBus has been started" notification on every login. Instead we
+ # install just the GNOME apps we use (see systemPackages below) and enable
+ # gvfs so Nautilus keeps trash, network shares, and removable-media mounting.
+ # dconf (needed for their gsettings) comes from the shared desktop profile.
+ services.gvfs.enable = true;
# --- Printing / discovery / disks ---
services.printing = {
@@ -115,5 +116,9 @@
environment.systemPackages = with pkgs; [
waybar
networkmanagerapplet
+
+ # GNOME apps we use standalone (no GNOME session; see gvfs note above).
+ nautilus # file manager
+ loupe # image viewer
];
}