blob: f9b6f907bc526e20d7c8a56fcdcff48bb0693bfa (
plain) (
tree)
|
|
{
config,
options,
lib,
pkgs,
...
}: let
greetdConf = config.modules.desktop.greetd;
in {
options.modules.desktop.greetd = {
enable = lib.mkOption {
type = lib.types.bool;
default = true;
};
};
config = lib.mkIf (greetdConf.enable) {
services.greetd = {
enable = true;
};
};
}
|