extremely basic i3
will probably move to home-manager for config
This commit is contained in:
parent
5a49cce821
commit
d8b87fa1e2
2 changed files with 16 additions and 8 deletions
|
@ -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 {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
6
home.nix
6
home.nix
|
@ -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 {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue