first attempt at changing the layout and using greetd
This commit is contained in:
parent
563b9dba23
commit
0c50d6ccd1
4 changed files with 97 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue