flake it 'til you make it
This commit is contained in:
parent
3113c7f66b
commit
e470f49a5c
12 changed files with 121 additions and 118 deletions
5
modules/desktop/default.nix
Normal file
5
modules/desktop/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./sound.nix
|
||||
];
|
||||
}
|
21
modules/desktop/sound.nix
Normal file
21
modules/desktop/sound.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue