From d8b87fa1e25a1cf04a96559116c101d692659a0e Mon Sep 17 00:00:00 2001 From: mehbark Date: Tue, 15 Aug 2023 14:03:16 -0400 Subject: [PATCH] extremely basic i3 will probably move to home-manager for config --- configuration.nix | 18 ++++++++++-------- home.nix | 6 ++++++ 2 files changed, 16 insertions(+), 8 deletions(-) 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 {}; }