From c89593946ab44bc80439f44a9c76390443ae6729 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 9 Feb 2026 01:13:10 -0800 Subject: [PATCH] Move dunst config from xmonad.nix to desktop.nix Dunst works on both X11 and Wayland, so it belongs in the shared desktop config rather than under the xmonad-specific module. Co-Authored-By: Claude Opus 4.6 --- nixos/desktop.nix | 4 +++- nixos/xmonad.nix | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/desktop.nix b/nixos/desktop.nix index 20e2a60f..9d2353ff 100644 --- a/nixos/desktop.nix +++ b/nixos/desktop.nix @@ -42,7 +42,9 @@ makeEnable config "myModules.desktop" true { services.gnome.gnome-keyring.enable = true; - # Visual notification manager + home-manager.sharedModules = [ + { imports = [ ./dunst.nix ]; } + ]; environment.systemPackages = with pkgs; [ # Appearance diff --git a/nixos/xmonad.nix b/nixos/xmonad.nix index b7aaa350..ebf46916 100644 --- a/nixos/xmonad.nix +++ b/nixos/xmonad.nix @@ -34,8 +34,6 @@ makeEnable config "myModules.xmonad" true { home-manager.sharedModules = [ { - imports = [ ./dunst.nix ]; - services.autorandr.enable = true; systemd.user.services.autorandr.Unit.ConditionEnvironment = "IMALISON_SESSION_TYPE=x11";