added mars, vali's desktop
This commit is contained in:
parent
bac86a3d54
commit
47264425ea
7 changed files with 5 additions and 4 deletions
21
hosts/vali/mars/i3.nix
Normal file
21
hosts/vali/mars/i3.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, lib, config, callPackage, ... }:
|
||||
with lib; let
|
||||
cfg = config.myOptions.programs.i3;
|
||||
in {
|
||||
options.myOptions.programs.i3.enable = mkEnableOption "i3";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
xkb.layout = "de";
|
||||
windowManager = {
|
||||
bspwm.enable = true;
|
||||
i3.enable = true;
|
||||
};
|
||||
displayManager = {
|
||||
gdm.enable = true;
|
||||
defaultSession = "none+i3";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue