diff --git a/home.nix b/home.nix index afc9f47..064c7f7 100644 --- a/home.nix +++ b/home.nix @@ -108,5 +108,15 @@ in extraConfig = import ./kitty.conf.nix; }; - xsession.windowManager.xmonad.enable = !use-kde; + xsession.windowManager.xmonad = if use-kde then { + enable = true; + config = pkgs.writeText "xmonad.hs" '' + import XMonad + main = xmonad defaultConfig + { terminal = "kitty" + , modMask = mod4Mask + , borderWidth = 3 + } + ''; + } else {}; }