extremely basic i3

will probably move to home-manager for config
This commit is contained in:
mehbark 2023-08-15 14:03:16 -04:00
parent 5a49cce821
commit d8b87fa1e2
2 changed files with 16 additions and 8 deletions

View file

@ -72,14 +72,16 @@ in
sddm.enable = conf.wm == "plasma" || conf.wm == "xmonad"; sddm.enable = conf.wm == "plasma" || conf.wm == "xmonad";
}; };
windowManager = { windowManager = {
i3.enable = conf.wm == "i3"; i3 = if conf.wm == "i3" then {
extraPackages = if conf.wm == "i3" enable = true;
then with pkgs; [ extraPackages =
with pkgs; [
dmenu dmenu
i3status i3status
i3lock i3lock
i3blocks i3blocks
] else []; ];
} else {};
}; };
}; };

View file

@ -148,4 +148,10 @@ in
enable = true; enable = true;
enableNvidiaPatches = true; enableNvidiaPatches = true;
} else {}; } else {};
# xsession.windowManager.i3 = if wm == "i3"
# then {
# enable = true;
# } else {};
} }