mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
feat: switched to tuigreeter
This commit is contained in:
parent
7f88d2a30b
commit
ffa87e3f73
1 changed files with 15 additions and 18 deletions
|
@ -2,6 +2,7 @@
|
||||||
config,
|
config,
|
||||||
flake,
|
flake,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -13,6 +14,7 @@ let
|
||||||
inherit (flake.config.machines) devices;
|
inherit (flake.config.machines) devices;
|
||||||
venus = devices.venus.name;
|
venus = devices.venus.name;
|
||||||
charon = devices.charon.name;
|
charon = devices.charon.name;
|
||||||
|
mars = devices.mars.name;
|
||||||
|
|
||||||
host = config.networking.hostName;
|
host = config.networking.hostName;
|
||||||
in
|
in
|
||||||
|
@ -21,25 +23,20 @@ in
|
||||||
greetd = {
|
greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
vt = 7;
|
vt = 7;
|
||||||
settings =
|
settings = {
|
||||||
let
|
default_session = {
|
||||||
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";
|
||||||
command = "${lib.meta.getExe config.programs.hyprland.package}";
|
user =
|
||||||
user =
|
if host == mars then
|
||||||
if host == charon then
|
"greeter"
|
||||||
user1
|
else if host == charon then
|
||||||
else if host == venus then
|
user1
|
||||||
user2
|
else if host == venus then
|
||||||
else
|
user2
|
||||||
user0;
|
else
|
||||||
};
|
user0;
|
||||||
in
|
|
||||||
{
|
|
||||||
inherit
|
|
||||||
default_session
|
|
||||||
;
|
|
||||||
initial_session = default_session;
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue