diff --git a/hosts/chris-laptop/default.nix b/hosts/chris-laptop/default.nix index 8c067f1..d2aa85c 100644 --- a/hosts/chris-laptop/default.nix +++ b/hosts/chris-laptop/default.nix @@ -5,6 +5,7 @@ modules = { themes.active = "everforest"; + system.audio = true; networking.enable = true; desktop = { diff --git a/hosts/chris-pc/default.nix b/hosts/chris-pc/default.nix index ec9fcaa..7749f7d 100644 --- a/hosts/chris-pc/default.nix +++ b/hosts/chris-pc/default.nix @@ -5,6 +5,7 @@ modules = { themes.active = "everforest"; + system.audio.enable = true; networking.enable = true; develop = { diff --git a/hosts/mam-laptop/default.nix b/hosts/mam-laptop/default.nix index 8c067f1..d2aa85c 100644 --- a/hosts/mam-laptop/default.nix +++ b/hosts/mam-laptop/default.nix @@ -5,6 +5,7 @@ modules = { themes.active = "everforest"; + system.audio = true; networking.enable = true; desktop = { diff --git a/modules/system/audio.nix b/modules/system/audio.nix index 5e2ce27..4891981 100644 --- a/modules/system/audio.nix +++ b/modules/system/audio.nix @@ -3,10 +3,10 @@ let inherit (lib.attrsets) attrValues; inherit (lib.modules) mkIf; - cfg = config.modules.hardware.pipewire; + cfg = config.modules.system.audio; in { - options.modules.hardware.pipewire = let + options.modules.system.audio = let inherit (lib.options) mkEnableOption; in {