From e504e6ac2b19679341a835f3ee69dd65b5065a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 19 Nov 2024 10:37:01 +0100 Subject: [PATCH] use pipewire as audio system --- programs/desktop/default.nix | 1 + programs/desktop/pipewire.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 programs/desktop/pipewire.nix diff --git a/programs/desktop/default.nix b/programs/desktop/default.nix index be2cc7e2..c10c14c1 100644 --- a/programs/desktop/default.nix +++ b/programs/desktop/default.nix @@ -3,6 +3,7 @@ imports = [ ./steam ./kodi/system-config.nix + ./pipewire.nix ]; home-manager.users.darkkirb.imports = if config.isGraphical then diff --git a/programs/desktop/pipewire.nix b/programs/desktop/pipewire.nix new file mode 100644 index 00000000..8ad8e738 --- /dev/null +++ b/programs/desktop/pipewire.nix @@ -0,0 +1,11 @@ +{ ... }: +{ + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + jack.enable = true; + }; +}