adding environment loginShellInit

This commit is contained in:
Richie committed 2024-11-19 20:12:51 -05:00
1 parent d50eef3662
commit 0b7c8ff317
1 file changed
+3 -1
+3 -1
View File
@@ -16,6 +16,8 @@
zfs.package = pkgs.zfs_unstable;
};
environment.loginShellInit = ''[[ "$(tty)" = "/dev/tty1" ]] && ${./gamescope.sh}'';
networking = {
hostName = "muninn";
hostId = "a43179c5";
@@ -35,7 +37,7 @@
services = {
getty = {
loginProgram = ./gamescope.sh;
# loginProgram = ./gamescope.sh;
autologinUser = "gaming";
};