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'";
|
tuiGreetTheme = "'border=magenta;text=cyan;prompt=green;time=red;action=white;button=yellow;container=black;input=gray'";
|
||||||
|
|
||||||
sessionData = config.services.displayManager.sessionData.desktops;
|
sessionData = config.services.displayManager.sessionData.desktops;
|
||||||
sessionPaths = concatStringsSep ":" [
|
|
||||||
"${sessionData}/share/xsessions"
|
|
||||||
"${sessionData}/share/wayland-sessions"
|
|
||||||
];
|
|
||||||
|
|
||||||
defaultSession = {
|
defaultSession = {
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
|
@ -29,8 +25,9 @@
|
||||||
"--remember-user-session"
|
"--remember-user-session"
|
||||||
"--asterisks"
|
"--asterisks"
|
||||||
"--greeting ${greetingMsg}"
|
"--greeting ${greetingMsg}"
|
||||||
"--sessions '${sessionPaths}'"
|
|
||||||
"--theme ${tuiGreetTheme}"
|
"--theme ${tuiGreetTheme}"
|
||||||
|
"--sessions '${sessionData}/share/wayland-sessions'"
|
||||||
|
"--xsessions '${sessionData}/share/xsessions'"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
@ -52,7 +49,7 @@ in {
|
||||||
# See: https://github.com/apognu/tuigreet/issues/68#issuecomment-1586359960
|
# See: https://github.com/apognu/tuigreet/issues/68#issuecomment-1586359960
|
||||||
systemd.services.greetd.serviceConfig = {
|
systemd.services.greetd.serviceConfig = {
|
||||||
Type = "idle";
|
Type = "idle";
|
||||||
StandardInputs = "tty";
|
StandardInput = "tty";
|
||||||
StandardOutput = "tty";
|
StandardOutput = "tty";
|
||||||
StandardError = "journal";
|
StandardError = "journal";
|
||||||
TTYReset = true;
|
TTYReset = true;
|
||||||
|
|
Loading…
Reference in a new issue