mv sddm to module

This commit is contained in:
smayzy
2025-07-09 14:04:35 +02:00
parent 100306baed
commit 33cc5b43b8
7 changed files with 25 additions and 6 deletions
+16
View File
@@ -0,0 +1,16 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.sddm.enable = mkOption {
type = types.bool;
default = false;
description = "sddm";
};
config = mkIf config.smayzy.sddm.enable {
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
};
}