fixed file structore
This commit is contained in:
parent
478e81cf03
commit
2f9e7889c6
32 changed files with 102 additions and 36 deletions
29
modules/graphics/wms/i3wm.nix
Normal file
29
modules/graphics/wms/i3wm.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ pkgs, lib, config, ...}:
|
||||
|
||||
{
|
||||
options = {
|
||||
i3wm.enable = lib.mkEnableOption "enable i3wm";
|
||||
};
|
||||
config = lib.mkIf config.i3wm.enable {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
xfce = {
|
||||
enable = true;
|
||||
noDesktop = true;
|
||||
enableXfwm = false;
|
||||
};
|
||||
};
|
||||
displayManager.defaultSession="xfce+i3";
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
dmenu
|
||||
i3status
|
||||
i3lock
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue