flake it 'til you make it

This commit is contained in:
polygon 2024-03-16 13:36:39 +00:00
parent 3113c7f66b
commit e470f49a5c
12 changed files with 121 additions and 118 deletions

View file

@ -0,0 +1,5 @@
{
imports = [
./sound.nix
];
}

21
modules/desktop/sound.nix Normal file
View file

@ -0,0 +1,21 @@
{
config,
pkgs,
...
}:
{
sound.enable = true;
hardware.pulseaudio.enable = false;
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.blueman.enable = true;
}