diff --git a/hosts/nixos-test/default.nix b/hosts/nixos-test/default.nix index 47f77cb..ba0bc0d 100644 --- a/hosts/nixos-test/default.nix +++ b/hosts/nixos-test/default.nix @@ -8,6 +8,7 @@ imports = [ ../../modules/system.nix + ../../modules/pipewire.nix # Include the results of the hardware scan. ./hardware-configuration.nix diff --git a/modules/pipewire.nix b/modules/pipewire.nix new file mode 100644 index 0000000..769671c --- /dev/null +++ b/modules/pipewire.nix @@ -0,0 +1,18 @@ +{ config, pkgs, ... }: + +{ + sound.enabled = true; + services = { + pipewire = { + enable = true; + audio.enable = true; + pulse.enable = true; + alsa = { + enable = true; + support32Bit = true; + }; + wireplumber.enable = true; + jack.enable = true; + }; + }; +} \ No newline at end of file