Migrated from import based to config based
This commit is contained in:
11
modules/system/display-managers/cosmic-greeter.nix
Normal file
11
modules/system/display-managers/cosmic-greeter.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.settings.display-manager;
|
||||
in {
|
||||
config = mkIf (cfg == "cosmic-greeter") {
|
||||
services.displayManager.cosmic-greeter.enable = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user