summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2023-06-11 15:57:49 +0200
committerAlan Pearce2023-06-11 15:57:49 +0200
commit3ee75c97cd9491e590f4ed919006d18865d88c2c (patch)
treeb74957976d075a2020309406db01198fb9c241cf /system
parent186b6fe22e1e1d650d59ed55ea2fb9fa4fc68b9d (diff)
downloadnixfiles-3ee75c97cd9491e590f4ed919006d18865d88c2c.tar.lz
nixfiles-3ee75c97cd9491e590f4ed919006d18865d88c2c.tar.zst
nixfiles-3ee75c97cd9491e590f4ed919006d18865d88c2c.zip
gaming: remove non-function pipewire configuration
Diffstat (limited to 'system')
-rw-r--r--system/settings/gaming.nix92
1 files changed, 0 insertions, 92 deletions
diff --git a/system/settings/gaming.nix b/system/settings/gaming.nix
index c112bb1d..81dab887 100644
--- a/system/settings/gaming.nix
+++ b/system/settings/gaming.nix
@@ -25,98 +25,6 @@
   };
   hardware.pulseaudio.support32Bit = true;
   services.pipewire.alsa.support32Bit = true;
-  services.pipewire.config.pipewire = {
-    "context.properties" = {
-      "link.max-buffers" = 16;
-      "log.level" = 2;
-      "default.clock.rate" = 44100;
-      "default.clock.allowed_rates" = [ 44100 48000 88200 96000 ];
-      "default.clock.quantum" = 64;
-      "default.clock.min-quantum" = 64;
-      "default.clock.max-quantum" = 1024;
-      "core.daemon" = true;
-      "core.name" = "pipewire-0";
-    };
-    "context.modules" = [
-      {
-        name = "libpipewire-module-rtkit";
-        args = {
-          "nice.level" = -15;
-          "rt.prio" = 88;
-          "rt.time.soft" = 200000;
-          "rt.time.hard" = 200000;
-        };
-        flags = [ "ifexists" "nofail" ];
-      }
-      { name = "libpipewire-module-protocol-native"; }
-      { name = "libpipewire-module-profiler"; }
-      { name = "libpipewire-module-metadata"; }
-      { name = "libpipewire-module-spa-device-factory"; }
-      { name = "libpipewire-module-spa-node-factory"; }
-      { name = "libpipewire-module-client-node"; }
-      { name = "libpipewire-module-client-device"; }
-      {
-        name = "libpipewire-module-portal";
-        flags = [ "ifexists" "nofail" ];
-      }
-      {
-        name = "libpipewire-module-access";
-        args = { };
-      }
-      { name = "libpipewire-module-adapter"; }
-      { name = "libpipewire-module-link-factory"; }
-      { name = "libpipewire-module-session-manager"; }
-    ];
-    "stream.properties" = {
-      "node.latency" = "32/44100";
-      "resample.quality" = 1;
-    };
-  };
-  services.pipewire.config.pipewire-pulse = {
-    "context.properties" = {
-      "log.level" = 2;
-    };
-    "pulse.properties" = {
-      "server.address" = [
-        "unix:native"
-        "tcp:127.0.0.1:4713"
-      ];
-    };
-    "context.modules" = [
-      {
-        name = "libpipewire-module-rtkit";
-        args = {
-          "nice.level" = -15;
-          "rt.prio" = 88;
-          "rt.time.soft" = 200000;
-          "rt.time.hard" = 200000;
-        };
-        flags = [ "ifexists" "nofail" ];
-      }
-      { name = "libpipewire-module-protocol-native"; }
-      { name = "libpipewire-module-client-node"; }
-      { name = "libpipewire-module-adapter"; }
-      { name = "libpipewire-module-metadata"; }
-      {
-        name = "libpipewire-module-protocol-pulse";
-        args = {
-          "pulse.min.req" = "128/48000";
-          "pulse.default.req" = "128/48000";
-          "pulse.max.req" = "128/48000";
-          "pulse.min.quantum" = "128/48000";
-          "pulse.max.quantum" = "128/48000";
-          "server.address" = [
-            "unix:native"
-            "tcp:127.0.0.1:4713"
-          ];
-        };
-      }
-    ];
-    "stream.properties" = {
-      "node.latency" = "32/48000";
-      "resample.quality" = 1;
-    };
-  };
 
   systemd = {
     extraConfig = ''