From a7b0ddfa5d78a55061d61b00a3b226d2a60ff97e Mon Sep 17 00:00:00 2001
From: Ingolf Wagner <contact@ingolf-wagner.de>
Date: Fri, 14 Feb 2025 20:16:23 +1300
Subject: [PATCH] :adhesive_bandage: fix pulseaudio warning

---
 components/chaospott.nix | 2 +-
 components/gui/audio.nix | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/chaospott.nix b/components/chaospott.nix
index 8e24922..ff83a97 100644
--- a/components/chaospott.nix
+++ b/components/chaospott.nix
@@ -13,7 +13,7 @@ with lib;
   };
 
   config = mkIf (config.components.chaospott.enable && config.components.gui.audio.enable) {
-    hardware.pulseaudio.zeroconf.discovery.enable = true;
+    services.pulseaudio.zeroconf.discovery.enable = true;
     environment.systemPackages = with pkgs; [
       paprefs
     ];
diff --git a/components/gui/audio.nix b/components/gui/audio.nix
index 3fcd95e..1407bdf 100644
--- a/components/gui/audio.nix
+++ b/components/gui/audio.nix
@@ -16,7 +16,7 @@ with lib;
 
     security.rtkit.enable = true;
 
-    hardware.pulseaudio.enable = false;
+    services.pulseaudio.enable = false;
 
     hardware.bluetooth = {
       enable = true;