From 8bba2a28a9108a780f4c10986bc9795ad878b299 Mon Sep 17 00:00:00 2001 From: "Henry J. Webster" Date: Thu, 30 Jul 2026 21:49:42 -0500 Subject: 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 --- machines/kusanagi/desktop.nix | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'machines/kusanagi') 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 ]; } -- cgit v1.3