Regenerated
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
bashPath = "${pkgs.bash}/bin/bash";
|
||||
tuigreetPath = "${pkgs.tuigreet}/bin/tuigreet";
|
||||
hyprlandSess = "${pkgs.hyprland}/share/wayland-sessions";
|
||||
in
|
||||
{
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
|
||||
settings.default_session = {
|
||||
user = "greeter";
|
||||
# Explicitly invoke bash to avoid missing-shell errors
|
||||
command = "${bashPath} -c '${tuigreetPath} --time --remember --remember-session --sessions ${hyprlandSess}'";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.greetd.serviceConfig = {
|
||||
Type = "idle";
|
||||
StandardInput = "tty";
|
||||
StandardOutput = "tty";
|
||||
StandardError = "journal";
|
||||
TTYReset = true;
|
||||
TTYVHangup = true;
|
||||
TTYVTDisallocate = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user