From 2aefab7284f9ad5f95048d91c9571ba0a5c92655 Mon Sep 17 00:00:00 2001 From: KnightArtorias Date: Thu, 14 May 2026 18:50:43 +0000 Subject: [PATCH] Float POL. Gamescope --- hosts/physical/crow/host-configs/niri/config.kdl | 5 +++++ nixos/roles/physical/desktop/common/apps/default.nix | 1 + nixos/roles/physical/desktop/common/apps/gamescope.nix | 5 +++++ 3 files changed, 11 insertions(+) create mode 100644 nixos/roles/physical/desktop/common/apps/gamescope.nix diff --git a/hosts/physical/crow/host-configs/niri/config.kdl b/hosts/physical/crow/host-configs/niri/config.kdl index 4bcb1fe..23305f6 100644 --- a/hosts/physical/crow/host-configs/niri/config.kdl +++ b/hosts/physical/crow/host-configs/niri/config.kdl @@ -98,6 +98,11 @@ window-rule { open-floating true } +window-rule { + match app-id=r#"^steam_app_default$"# title=r#"^PlayOnline Viewer.+$"# + open-floating true +} + // Example: block out two password managers from screen capture. window-rule { match app-id=r#"^org\.keepassxc\.KeePassXC$"# diff --git a/nixos/roles/physical/desktop/common/apps/default.nix b/nixos/roles/physical/desktop/common/apps/default.nix index 532a81a..ded5411 100644 --- a/nixos/roles/physical/desktop/common/apps/default.nix +++ b/nixos/roles/physical/desktop/common/apps/default.nix @@ -8,5 +8,6 @@ ./usbutils.nix ./bolt-launcher.nix ./lutris.nix + ./gamescope.nix ]; } diff --git a/nixos/roles/physical/desktop/common/apps/gamescope.nix b/nixos/roles/physical/desktop/common/apps/gamescope.nix new file mode 100644 index 0000000..9bae182 --- /dev/null +++ b/nixos/roles/physical/desktop/common/apps/gamescope.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: + +{ + programs.gamescope.enable = true; +}