mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 17:54:35 +00:00
Fix some issues in greetd config
This commit is contained in:
parent
8a4d6ba1cb
commit
03d4c5e69a
|
@ -15,10 +15,6 @@
|
|||
tuiGreetTheme = "'border=magenta;text=cyan;prompt=green;time=red;action=white;button=yellow;container=black;input=gray'";
|
||||
|
||||
sessionData = config.services.displayManager.sessionData.desktops;
|
||||
sessionPaths = concatStringsSep ":" [
|
||||
"${sessionData}/share/xsessions"
|
||||
"${sessionData}/share/wayland-sessions"
|
||||
];
|
||||
|
||||
defaultSession = {
|
||||
user = "greeter";
|
||||
|
@ -29,8 +25,9 @@
|
|||
"--remember-user-session"
|
||||
"--asterisks"
|
||||
"--greeting ${greetingMsg}"
|
||||
"--sessions '${sessionPaths}'"
|
||||
"--theme ${tuiGreetTheme}"
|
||||
"--sessions '${sessionData}/share/wayland-sessions'"
|
||||
"--xsessions '${sessionData}/share/xsessions'"
|
||||
];
|
||||
};
|
||||
in {
|
||||
|
@ -52,7 +49,7 @@ in {
|
|||
# See: https://github.com/apognu/tuigreet/issues/68#issuecomment-1586359960
|
||||
systemd.services.greetd.serviceConfig = {
|
||||
Type = "idle";
|
||||
StandardInputs = "tty";
|
||||
StandardInput = "tty";
|
||||
StandardOutput = "tty";
|
||||
StandardError = "journal";
|
||||
TTYReset = true;
|
||||
|
|
Loading…
Reference in a new issue