From 8ecc9b2358048bbe9ec6d0881eb99103bd3a14c9 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 44e51d2..e850417 100644 --- a/systems/muninn/default.nix +++ b/systems/muninn/default.nix @@ -17,6 +17,8 @@ zfs.package = pkgs.zfs_unstable; }; + environment.loginShellInit = ''[[ "$(tty)" = "/dev/tty1" ]] && ${./gamescope.sh}''; + networking = { hostName = "muninn"; hostId = "a43179c5"; @@ -36,7 +38,7 @@ services = { getty = { - loginProgram = ./gamescope.sh; + # loginProgram = ./gamescope.sh; autologinUser = "gaming"; };