first attempt at changing the layout and using greetd

This commit is contained in:
Christoph Hollizeck 2024-06-04 22:49:53 +02:00
parent 563b9dba23
commit 0c50d6ccd1
No known key found for this signature in database
4 changed files with 97 additions and 6 deletions

View file

@ -0,0 +1,27 @@
{
config,
lib,
...
}:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.graphical-interface.display-manager.sddm;
in
{
options.wyrdgard.graphical-interface.display-manager.sddm = with types; {
enable = mkEnableOption "Whether to enable a sddm";
};
config = mkIf cfg.enable {
services = {
xserver = enabled;
displayManager = {
sddm = {
enable = true;
wayland.enable = true;
};
};
};
};
}