kilgharrah: switch from pulseaudio to pipewire

This commit is contained in:
Katherina Walshe-Grey 2024-09-10 22:40:07 +01:00
parent 5a71df020e
commit 5fefab9707
2 changed files with 14 additions and 7 deletions

View file

@ -6,6 +6,7 @@
./filesystems.nix
./hardware.nix
./networking.nix
./sound.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
@ -29,13 +30,6 @@
services.printing.enable = true;
sound.enable = true;
hardware.pulseaudio.enable = true;
# services.pipewire = {
# enable = true;
# pulse.enable = true;
# };
age.secrets.user-password-kilgharrah-qenya.file = ../../secrets/user-password-kilgharrah-qenya.age;
users.users.qenya.hashedPasswordFile = config.age.secrets.user-password-kilgharrah-qenya.path;
users.users.qenya.extraGroups = [ "wheel" ];

View file

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
{
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
environment.systemPackages = with pkgs; [ helvum ]; # patchbay
}