adding environment loginShellInit

This commit is contained in:
2024-11-19 20:12:51 -05:00
parent 3582f3c50b
commit 8ecc9b2358

View File

@@ -17,6 +17,8 @@
zfs.package = pkgs.zfs_unstable; zfs.package = pkgs.zfs_unstable;
}; };
environment.loginShellInit = ''[[ "$(tty)" = "/dev/tty1" ]] && ${./gamescope.sh}'';
networking = { networking = {
hostName = "muninn"; hostName = "muninn";
hostId = "a43179c5"; hostId = "a43179c5";
@@ -36,7 +38,7 @@
services = { services = {
getty = { getty = {
loginProgram = ./gamescope.sh; # loginProgram = ./gamescope.sh;
autologinUser = "gaming"; autologinUser = "gaming";
}; };