aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-08 23:12:27 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-08 23:12:27 +0100
commit4ac043c2850bc31a6d1020c0d3ba20da1ad75609 (patch)
tree3f7b07a05fcde15ecc37b6644bf75ef168578d5a
parent31e3c67be7d6f924d561a9300a62cb3d834d50f5 (diff)
downloadnixos-personal-4ac043c2850bc31a6d1020c0d3ba20da1ad75609.tar.gz
nixos-personal-4ac043c2850bc31a6d1020c0d3ba20da1ad75609.tar.bz2
nixos-personal-4ac043c2850bc31a6d1020c0d3ba20da1ad75609.zip
nixos/desktop: load zeroconf-discover module for pipewire
-rw-r--r--nixos/modules/desktop.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix
index 4065003..11236f4 100644
--- a/nixos/modules/desktop.nix
+++ b/nixos/modules/desktop.nix
@@ -46,7 +46,7 @@ in {
kanshi wdisplays wayvnc wl-mirror
slurp grim
- pipewire wf-recorder
+ wf-recorder
wl-clipboard wl-color-picker
swayidle
dunst
@@ -141,6 +141,11 @@ in {
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
+ config.pipewire = {
+ context.modules = [
+ { name = "libpipewire-module-zeroconf-discover"; }
+ ];
+ };
};
security.rtkit.enable = true;