This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-07-02 19:03:23 +02:00
parent ae997e92aa
commit 7356853a1d
2 changed files with 16 additions and 3 deletions

View File

@@ -5,13 +5,23 @@ if (host != "NxACE") then
enable = true;
settings = rec {
hyprland = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland --remember-user-session --window-padding 5";
user = user;
};
default_session = hyprland;
vt = 2;
};
};
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
Standarderror = "journal"; # Without this errors will spam on screen
# Without these bootlogs will spam on screen
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
}
else
{