diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 17:40:46 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-06-09 17:40:46 +0000 |
| commit | a45c4551712c1ba5cb82eaf290f311ab0e8690e4 (patch) | |
| tree | f62b23489fb31f8ea58fef77f99619efd784eb36 /modules/services/system/audio.nix | |
big changes
Diffstat (limited to 'modules/services/system/audio.nix')
| -rw-r--r-- | modules/services/system/audio.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/services/system/audio.nix b/modules/services/system/audio.nix new file mode 100644 index 0000000..f0586ea --- /dev/null +++ b/modules/services/system/audio.nix @@ -0,0 +1,19 @@ +{ + pkgs, + config, + lib, + ... +}: let + cfg = config.collinux.services.audio; +in + lib.mkIf cfg.enable { + services.pipewire = { + enable = true; + wireplumber.enable = true; + alsa.enable = true; + + pulse.enable = cfg.pulse.enable; + }; + + environment.systemPackages = [pkgs.pwvucontrol]; + } |
