about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-27 17:53:59 +0900
committersefidel <contact@sefidel.net>2022-01-27 17:53:59 +0900
commitfb57683418e7ee41573c8ba4f3179ba8ed8b7124 (patch)
treee11dfaa5381f8c2132f6d51c12aa01d1ee930d77
parentd08246344664a354d1beeaf450af9062a5899230 (diff)
downloadnixrc-fb57683418e7ee41573c8ba4f3179ba8ed8b7124.tar.gz
nixrc-fb57683418e7ee41573c8ba4f3179ba8ed8b7124.zip
nixos/alpha: cleanup pipewire
-rw-r--r--nixos/alpha/config/pipewire.nix67
-rw-r--r--nixos/alpha/configuration.nix2
2 files changed, 0 insertions, 69 deletions
diff --git a/nixos/alpha/config/pipewire.nix b/nixos/alpha/config/pipewire.nix
deleted file mode 100644
index d1ec56f..0000000
--- a/nixos/alpha/config/pipewire.nix
+++ /dev/null
@@ -1,67 +0,0 @@
-{
-  pipewire."context.properties" = {
-    "core.daemon" = true;
-    "core.name" = "pipewire-0";
-    "link.max-buffers" = 16;
-    "log.level" = 2;
-    "default.clock.rate" = 48000;
-    "default.clock.quantum" = 32;
-    "default.clock.min-quantum" = 32;
-    "default.clock.max-quantum" = 32;
-  };
-
-  pipewire-pulse = {
-    "context.modules" = [
-      { name = "libpipewire-module-protocol-native"; }
-      { name = "libpipewire-module-client-node"; }
-      { name = "libpipewire-module-adapter"; }
-      { name = "libpipewire-module-metadata"; }
-      { name = "libpipewire-module-profiler"; }
-      { name = "libpipewire-module-spa-device-factory"; }
-      { name = "libpipewire-module-spa-node-factory"; }
-      { name = "libpipewire-module-client-device"; }
-      { name = "libpipewire-module-link-factory"; }
-      { name = "libpipewire-module-session-manager"; }
-
-      {
-        name = "libpipewire-module-portal";
-        flags = [ "ifexists" "nofail" ];
-      }
-
-      {
-        name = "libpipewire-module-access";
-        args = { };
-      }
-
-      {
-        name = "libpipewire-module-rtkit";
-
-        args = {
-          "nice.level" = -15;
-          "rt.prio" = 90;
-          "rt.time.soft" = 200000;
-          "rt.time.hard" = 200000;
-        };
-
-        flags = [ "ifexists" "nofail" ];
-      }
-
-      {
-        name = "libpipewire-module-protocol-pulse";
-        args = {
-          "server.address" = [ "unix:native" ];
-          "pulse.min.req" = "32/48000";
-          "pulse.min.quantum" = "32/48000";
-          "pulse.min.frag" = "32/48000";
-          "pulse.default.req" = "2048/48000";
-          "pulse.default.frag" = "2048/48000";
-        };
-      }
-    ];
-
-    "stream.properties" = {
-      "node.latency" = "32/48000";
-      "resample.quality" = 1;
-    };
-  };
-}
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index f245432..2af0514 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -93,8 +93,6 @@
     #alsa.enable = true;
     #alsa.support32Bit = true;
     pulse.enable = true;
-
-    config = import ./config/pipewire.nix;
   };
 
   environment.etc."alsa/conf.d/49-pipewire-modules.conf".text = ''