➕ (aurum/services) enable tuigreetd
This commit is contained in:
parent
ff34bbe896
commit
89210287bc
5
hosts/aurum/services/default.nix
Normal file
5
hosts/aurum/services/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./greetd
|
||||||
|
];
|
||||||
|
}
|
18
hosts/aurum/services/greetd/default.nix
Normal file
18
hosts/aurum/services/greetd/default.nix
Normal file
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue