mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 04:44:39 -05:00
29 lines
642 B
Nix
Executable file
29 lines
642 B
Nix
Executable file
{
|
|
config,
|
|
flake,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (flake.config.people)
|
|
user0
|
|
;
|
|
inherit (flake.config.machines) devices;
|
|
mars = devices.mars.name;
|
|
|
|
host = config.networking.hostName;
|
|
in
|
|
{
|
|
services = {
|
|
greetd = {
|
|
enable = false;
|
|
vt = 7;
|
|
settings = {
|
|
default_session = {
|
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --time-format '%I:%M %p | %a • %h | %F' --theme border=magenta;text=cyan;prompt=green;time=red;action=blue;button=yellow;container=black;input=red --cmd Hyprland";
|
|
user = if host == mars then "greeter" else user0;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|