diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-02-06 14:48:29 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-02-06 14:48:29 +0100 |
| commit | 66e225cdd30fdcfe414d646398c883ae7e96e630 (patch) | |
| tree | 6ca05ef5946a85ff76ea6ea975e5aa982b9cb2b0 /modules/nixos/base/audio.nix | |
| parent | 8e7f3f16da6cf4ed87685d93f408316c5b2b189a (diff) | |
moved audio ocnfig to its own file
Diffstat (limited to 'modules/nixos/base/audio.nix')
| -rw-r--r-- | modules/nixos/base/audio.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/nixos/base/audio.nix b/modules/nixos/base/audio.nix new file mode 100644 index 0000000..0b36b45 --- /dev/null +++ b/modules/nixos/base/audio.nix @@ -0,0 +1,18 @@ +{ pkgs, config, lib, ... }: + +{ + # rtkit is optional but recommended + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + # If you want to use JACK applications, uncomment this + jack.enable = true; + }; + + environment.packages = with pkgs; [ + pavucontrol + ]; +}
\ No newline at end of file |
