mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
chore: init
This commit is contained in:
commit
1b2c1ea359
891 changed files with 37053 additions and 0 deletions
29
modules/nixos/desktop/wayland/greetd/default.nix
Executable file
29
modules/nixos/desktop/wayland/greetd/default.nix
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
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 = true;
|
||||
# vt = 7;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue