nix-config/modules/nix/displaymanager/sddm.nix
smayzy 092579af98
All checks were successful
nix flake show / show-flake (push) Successful in 27s
format with nixfmt to nixpkgs standarts
2025-07-24 19:19:46 +02:00

17 lines
341 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;
};
}