From 0b7c8ff3174ae2fe759b98d61548a5fff852b2ed Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Tue, 19 Nov 2024 20:12:51 -0500 Subject: [PATCH] adding environment loginShellInit --- systems/muninn/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/systems/muninn/default.nix b/systems/muninn/default.nix index 0dd64a4..e7c00f4 100644 --- a/systems/muninn/default.nix +++ b/systems/muninn/default.nix @@ -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"; };