Merge branch 'main' of github.com:bloxx12/nichts
This commit is contained in:
commit
3234ff7579
4 changed files with 36 additions and 0 deletions
|
@ -3,5 +3,6 @@ _: {
|
|||
./home-manager.nix
|
||||
./system.nix
|
||||
./xdg.nix
|
||||
./displaymanager.nix
|
||||
];
|
||||
}
|
||||
|
|
13
modules/other/displaymanager.nix
Normal file
13
modules/other/displaymanager.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{pkgs, lib, config, ...}:
|
||||
with lib; let
|
||||
cfg = config.myOptions.programs.displaymanager;
|
||||
in {
|
||||
options.myOptions.programs.displaymanager.enable = mkEnableOption "displaymanager";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver.displayManager = {
|
||||
gdm.enable = true;
|
||||
defaultSession = "none+i3";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue