nix-config/modules/nix/displaymanager/sddm.nix
smayzy c5ef752a66
All checks were successful
nix flake show / show-flake (push) Successful in 35s
clean modules & add power modes
2025-07-24 14:21:53 +02:00

17 lines
342 B
Nix

{ lib, config, ... }:
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;
};
}