adding environment loginShellInit

This commit is contained in:
2024-11-19 20:12:51 -05:00
parent d50eef3662
commit 0b7c8ff317

View File

@@ -16,6 +16,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";
@@ -35,7 +37,7 @@
services = { services = {
getty = { getty = {
loginProgram = ./gamescope.sh; # loginProgram = ./gamescope.sh;
autologinUser = "gaming"; autologinUser = "gaming";
}; };