WIP splitting up configuration.nix into modules

This commit is contained in:
Chris Kruining 2024-07-20 22:22:47 +02:00
parent 05a553251f
commit 835faf218d
8 changed files with 160 additions and 98 deletions

19
modules/system/audio.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
sound.enable = false;
hardware.pulseaudio.enable = false;
users.extraGroups.audio.members = [ "chris" ];
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
jack.enable = true;
};
}