aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-10-03 09:49:53 +0200
committerKarel Kočí <cynerd@email.cz>2024-10-03 09:49:53 +0200
commit60d5de201ffa2ac406ab22ae1c0ac3901fe45c85 (patch)
tree1073dcc7e48c6754c4772f67d80b34fb515907c7 /nixos
parentfdb4d847c643043d7ecdf42cdeba3b3b75132e6f (diff)
downloadnixos-personal-60d5de201ffa2ac406ab22ae1c0ac3901fe45c85.tar.gz
nixos-personal-60d5de201ffa2ac406ab22ae1c0ac3901fe45c85.tar.bz2
nixos-personal-60d5de201ffa2ac406ab22ae1c0ac3901fe45c85.zip
nixos/desktop: autoload zeroconf-discover
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/desktop.nix19
1 files changed, 14 insertions, 5 deletions
diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix
index 54c50d2..b3746d0 100644
--- a/nixos/modules/desktop.nix
+++ b/nixos/modules/desktop.nix
@@ -147,12 +147,15 @@ in {
kdenlive
# GStreamer
- gst_all_1.gst-libav
- gst_all_1.gst-plugins-bad
+ gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
+ gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
+ gst_all_1.gst-plugins-rs
gst_all_1.gst-plugins-viperfx
+ gst_all_1.gst-libav
+ gst_all_1.gst-vaapi
# Writing
typst
@@ -245,9 +248,15 @@ in {
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
- extraConfig.pipewire."10-zeroconf" = {
- "context.modules" = [{name = "libpipewire-module-zeroconf-discover";}];
- };
+ configPackages = [
+ (pkgs.writeTextDir "share/pipewire/pipewire.conf.d/10-zeroconf-discover.conf" ''
+ context.modules = [
+ { name = libpipewire-module-zeroconf-discover
+ args = { }
+ }
+ ]
+ '')
+ ];
};
upower.enable = true;