mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Extract GDM and Tuigreet configurations into separate files
This commit is contained in:
parent
61abb99a2f
commit
eb5ac0af22
3 changed files with 43 additions and 36 deletions
11
modules/system/dm/gdm.nix
Normal file
11
modules/system/dm/gdm.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.myConfig.dm.gdm.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.dm.gdm.enable {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue