Added GDM
This commit is contained in:
1 parent
3ae7a5e8d4
commit
750ca2f3a8
6 files changed
+32
-4
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.gdm;
|
||||
in
|
||||
{
|
||||
options.modules.gdm = {
|
||||
enable = mkEnableOption "gdm";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
displayManager.gdm.wayland = true;
|
||||
libinput.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user