22 lines
496 B
Nix
22 lines
496 B
Nix
{ inputs, ... }: {
|
|
|
|
flake.nixosModules.default = { config, lib, pkgs, ... }: {
|
|
|
|
imports = [
|
|
inputs.aurora.nixosModules.default
|
|
];
|
|
|
|
options.sysconfig.services.aurora-greeter.enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
};
|
|
|
|
config = lib.mkIf config.sysconfig.services.aurora-greeter.enable {
|
|
|
|
services.aurora-greeter = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|