testing gs.sh

This commit is contained in:
2024-11-19 19:41:07 -05:00
parent 1de57f8251
commit 8af120b6cf
2 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [ imports = [
../../users/richie ../../users/richie
../../users/gaming ../../users/gaming
@@ -34,8 +36,8 @@
services = { services = {
getty = { getty = {
loginProgram = "${pkgs.gamescope}/bin/gamescope"; loginProgram = ./gs.sh;
loginOptions = "${pkgs.steam}/bin/steam -bigpicture"; # loginOptions = "${pkgs.steam}/bin/steam -bigpicture";
autologinUser = "gaming"; autologinUser = "gaming";
}; };

4
systems/muninn/gs.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -xeuo pipefail
exec gamescope --adaptive-sync --hdr-enabled --rt --steam -- steam -pipewire-dmabuf -tenfoot