feat(gdm): init
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
stylix.enable = true;
|
||||
qemu.enable = true;
|
||||
flatpak.enable = true;
|
||||
sddm.enable = true;
|
||||
gdm.enable = true;
|
||||
openssh.enable = true;
|
||||
|
||||
steam = {
|
||||
|
||||
15
modules/nixos/gdm.nix
Normal file
15
modules/nixos/gdm.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.gdm;
|
||||
in {
|
||||
options.sydnix.gdm = {
|
||||
enable = lib.mkEnableOption "Gnome Display Manager";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.displayManager.gdm = {
|
||||
enable = true;
|
||||
wayland = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user