27 lines
463 B
Nix
27 lines
463 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [
|
|
./audio-automation.nix
|
|
];
|
|
|
|
config = {
|
|
nixpkgs.allowedUnfree = [
|
|
"spotify"
|
|
"spotify-unwrapped"
|
|
];
|
|
|
|
security.rtkit.enable = true;
|
|
services = {
|
|
pulseaudio.enable = false;
|
|
pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
pulseaudio.extraConfig = "load-module module-switch-on-connect";
|
|
};
|
|
};
|
|
}
|