23 lines
365 B
Nix
23 lines
365 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" "gdm"];
|
|
description = ''
|
|
Specify which display manager to use
|
|
'';
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./sddm.nix
|
|
./cosmic-greeter.nix
|
|
./gdm.nix
|
|
];
|
|
}
|