Improve gamescope session
This commit is contained in:
@@ -19,6 +19,15 @@ in
|
|||||||
"--hdr-itm-enabled"
|
"--hdr-itm-enabled"
|
||||||
"--adaptive-sync"
|
"--adaptive-sync"
|
||||||
];
|
];
|
||||||
|
steamArgs = [
|
||||||
|
"-steamos3"
|
||||||
|
"-gamepadui"
|
||||||
|
"-pipewire-dmabuf"
|
||||||
|
];
|
||||||
|
env = {
|
||||||
|
STEAM_ENABLE_VOLUME_HANDLER = "1";
|
||||||
|
STEAM_DISABLE_AUDIO_DEVICE_SWITCHING = "1";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
environment.systemPackages = [ pkgs.gamescope-wsi ];
|
environment.systemPackages = [ pkgs.gamescope-wsi ];
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
thisMachineIsARunner = config.thisMachine.hasRole."gitea-actions-runner";
|
thisMachineIsARunner = config.thisMachine.hasRole."gitea-actions-runner";
|
||||||
hostOverlays = config.nixpkgs.overlays;
|
|
||||||
hostName = config.networking.hostName;
|
hostName = config.networking.hostName;
|
||||||
containerName = "gitea-runner";
|
containerName = "gitea-runner";
|
||||||
giteaRunnerUid = 991;
|
giteaRunnerUid = 991;
|
||||||
@@ -34,7 +33,6 @@ in
|
|||||||
|
|
||||||
config = { config, lib, pkgs, ... }: {
|
config = { config, lib, pkgs, ... }: {
|
||||||
imports = allModules;
|
imports = allModules;
|
||||||
nixpkgs.overlays = hostOverlays;
|
|
||||||
|
|
||||||
ntfy-alerts.ignoredUnits = [ "logrotate" ];
|
ntfy-alerts.ignoredUnits = [ "logrotate" ];
|
||||||
ntfy-alerts.hostLabel = "${hostName}/${containerName}";
|
ntfy-alerts.hostLabel = "${hostName}/${containerName}";
|
||||||
|
|||||||
Reference in New Issue
Block a user