add cosmic modules, probably won't switch to it

This commit is contained in:
KoenDR06 2025-06-11 11:29:12 +02:00
parent 299bcba29b
commit b179cec316
7 changed files with 75 additions and 35 deletions

View 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;
};
};
}