From 350667786d7c8c796d3a22cc8d42366d82b0dc0a Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Fri, 29 Nov 2024 22:41:33 -0500 Subject: [PATCH] created pipewire.nix centralized pipewire settings --- common/optional/desktop.nix | 1 + common/optional/pipewire.nix | 10 ++++++++++ systems/bob/default.nix | 7 ------- systems/rhapsody-in-green/default.nix | 7 ------- 4 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 common/optional/pipewire.nix diff --git a/common/optional/desktop.nix b/common/optional/desktop.nix index 34d73f3..1cfeb07 100644 --- a/common/optional/desktop.nix +++ b/common/optional/desktop.nix @@ -1,6 +1,7 @@ { imports = [ ./desktop_kernel.nix + ./pipewire.nix ]; services = { desktopManager.plasma6.enable = true; diff --git a/common/optional/pipewire.nix b/common/optional/pipewire.nix new file mode 100644 index 0000000..39fdd15 --- /dev/null +++ b/common/optional/pipewire.nix @@ -0,0 +1,10 @@ + +{ + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + wireplumber.enable = true; + }; +} diff --git a/systems/bob/default.nix b/systems/bob/default.nix index e59e985..e860b7d 100644 --- a/systems/bob/default.nix +++ b/systems/bob/default.nix @@ -39,13 +39,6 @@ printing.enable = true; - pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - }; - snapshot_manager.enable = true; zfs = { diff --git a/systems/rhapsody-in-green/default.nix b/systems/rhapsody-in-green/default.nix index 76b3916..c8f9998 100644 --- a/systems/rhapsody-in-green/default.nix +++ b/systems/rhapsody-in-green/default.nix @@ -39,13 +39,6 @@ printing.enable = true; - pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - }; - snapshot_manager.enable = true; zfs = {