diff --git a/configuration.nix b/configuration.nix index feb51d7..9c633a2 100644 --- a/configuration.nix +++ b/configuration.nix @@ -72,14 +72,16 @@ in sddm.enable = conf.wm == "plasma" || conf.wm == "xmonad"; }; windowManager = { - i3.enable = conf.wm == "i3"; - extraPackages = if conf.wm == "i3" - then with pkgs; [ - dmenu - i3status - i3lock - i3blocks - ] else []; + i3 = if conf.wm == "i3" then { + enable = true; + extraPackages = + with pkgs; [ + dmenu + i3status + i3lock + i3blocks + ]; + } else {}; }; }; diff --git a/home.nix b/home.nix index 37a4bec..0731ad5 100644 --- a/home.nix +++ b/home.nix @@ -148,4 +148,10 @@ in enable = true; enableNvidiaPatches = true; } else {}; + + # xsession.windowManager.i3 = if wm == "i3" + # then { + # enable = true; + + # } else {}; }