add cosmic modules, probably won't switch to it
This commit is contained in:
parent
299bcba29b
commit
b179cec316
7 changed files with 75 additions and 35 deletions
23
modules/boot/greeter/cosmic.nix
Normal file
23
modules/boot/greeter/cosmic.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf mkOption types;
|
||||
cfg = config.horseman.boot.greeter.cosmic;
|
||||
in {
|
||||
options = {
|
||||
horseman.boot.greeter.cosmic = {
|
||||
enable = mkEnableOption "COSMIC Greeter";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.displayManager.cosmic-greeter = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
23
modules/boot/greeter/gdm.nix
Normal file
23
modules/boot/greeter/gdm.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf mkOption types;
|
||||
cfg = config.horseman.boot.greeter.gdm;
|
||||
in {
|
||||
options = {
|
||||
horseman.boot.greeter.gdm = {
|
||||
enable = mkEnableOption "GDM Greeter";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver.displayManager.gdm = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue