From 8af120b6cf7b086fa9e3271b8765654b91dea93e Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Tue, 19 Nov 2024 19:41:07 -0500 Subject: [PATCH] testing gs.sh --- systems/muninn/default.nix | 6 ++++-- systems/muninn/gs.sh | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 systems/muninn/gs.sh diff --git a/systems/muninn/default.nix b/systems/muninn/default.nix index bf3328a..e9d6b90 100644 --- a/systems/muninn/default.nix +++ b/systems/muninn/default.nix @@ -1,5 +1,7 @@ { pkgs, ... }: { + + imports = [ ../../users/richie ../../users/gaming @@ -34,8 +36,8 @@ services = { getty = { - loginProgram = "${pkgs.gamescope}/bin/gamescope"; - loginOptions = "${pkgs.steam}/bin/steam -bigpicture"; + loginProgram = ./gs.sh; + # loginOptions = "${pkgs.steam}/bin/steam -bigpicture"; autologinUser = "gaming"; }; diff --git a/systems/muninn/gs.sh b/systems/muninn/gs.sh new file mode 100644 index 0000000..63d9766 --- /dev/null +++ b/systems/muninn/gs.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +set -xeuo pipefail + +exec gamescope --adaptive-sync --hdr-enabled --rt --steam -- steam -pipewire-dmabuf -tenfoot \ No newline at end of file