diff --git a/hosts/aurum/services/default.nix b/hosts/aurum/services/default.nix new file mode 100644 index 0000000..6a6703d --- /dev/null +++ b/hosts/aurum/services/default.nix @@ -0,0 +1,5 @@ +{...}: { + imports = [ + ./greetd + ]; +} diff --git a/hosts/aurum/services/greetd/default.nix b/hosts/aurum/services/greetd/default.nix new file mode 100644 index 0000000..8867551 --- /dev/null +++ b/hosts/aurum/services/greetd/default.nix @@ -0,0 +1,18 @@ +{ + inputs, + pkgs, + ... +}: let + hyprland = inputs.hyprland.packages."${pkgs.system}".hyprland; +in { + services.greetd = { + enable = true; + + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${hyprland}/bin/Hyprland"; + user = "greeter"; + }; + }; + }; +}