diff --git a/flake.lock b/flake.lock index 7d254bf..fc13c25 100644 --- a/flake.lock +++ b/flake.lock @@ -340,11 +340,11 @@ ] }, "locked": { - "lastModified": 1775221564, - "narHash": "sha256-O2/JCtH6VPVypyshKEqW7hKvypvxvjwWBclI89wZJO8=", + "lastModified": 1775228139, + "narHash": "sha256-ebbeHmg+V7w8050bwQOuhmQHoLOEOfqKzM1KgCTexK4=", "owner": "nix-community", "repo": "NUR", - "rev": "6ac8a11735e3f5cda30adb1527cb7def63e7100a", + "rev": "601971b9c89e0304561977f2c28fa25e73aa7132", "type": "github" }, "original": { @@ -361,11 +361,11 @@ ] }, "locked": { - "lastModified": 1775221564, - "narHash": "sha256-O2/JCtH6VPVypyshKEqW7hKvypvxvjwWBclI89wZJO8=", + "lastModified": 1775228139, + "narHash": "sha256-ebbeHmg+V7w8050bwQOuhmQHoLOEOfqKzM1KgCTexK4=", "owner": "nix-community", "repo": "NUR", - "rev": "6ac8a11735e3f5cda30adb1527cb7def63e7100a", + "rev": "601971b9c89e0304561977f2c28fa25e73aa7132", "type": "github" }, "original": { diff --git a/nixos/hosts/tower/configuration.nix b/nixos/hosts/tower/configuration.nix index f29d284..cf6c0bd 100644 --- a/nixos/hosts/tower/configuration.nix +++ b/nixos/hosts/tower/configuration.nix @@ -63,7 +63,6 @@ pkgs.efibootmgr pkgs.prismlauncher pkgs.nvtopPackages.nvidia - pkgs.gamescope ]; }; diff --git a/nixos/modules/wm/sway.nix b/nixos/modules/wm/sway.nix index 60a019d..9139724 100644 --- a/nixos/modules/wm/sway.nix +++ b/nixos/modules/wm/sway.nix @@ -15,6 +15,7 @@ evince seahorse nautilus + gamescope ]; programs = { @@ -49,6 +50,19 @@ binPath = "${pkgs.sway}/bin/sway"; extraArgs = [ "--unsupported-gpu" ]; }; + big_picture = { + prettyName = "Steam Big Picture"; + comment = "Launch in big picture mode within a gamescope container"; + binPath = "${pkgs.gamescope}/bin/gamescope"; + extraArgs = [ + "-e" + "-W 1920" + "-H 1080" + "--" + "/usr/bin/steam" + "-tenfoot" + ]; + }; }; };