12 lines
193 B
Nix
12 lines
193 B
Nix
|
{ lib, config, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
cfg = config.settings.display-manager;
|
||
|
in {
|
||
|
config = mkIf (cfg == "cosmic-greeter") {
|
||
|
services.displayManager.cosmic-greeter.enable = true;
|
||
|
};
|
||
|
}
|