marleyos/modules/nixos/services/sddm/default.nix

18 lines
281 B
Nix
Raw Normal View History

2025-01-09 08:08:30 -08:00
{
lib,
config,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.services.sddm;
in {
options.marleyos.services.sddm.enable = mkEnableOption "sddm";
config = mkIf cfg.enable {
services.displayManager.sddm = {
enable = true;
};
};
}