22 lines
345 B
Nix
22 lines
345 B
Nix
|
{ lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
cfg = config.settings.display-manager;
|
||
|
in {
|
||
|
options = {
|
||
|
settings.display-manager = lib.mkOption {
|
||
|
type = lib.types.enum ["sddm" "cosmic-greeter"];
|
||
|
description = ''
|
||
|
Specify which display manager to use
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
|
||
|
imports = [
|
||
|
./sddm.nix
|
||
|
./cosmic-greeter.nix
|
||
|
];
|
||
|
}
|