diff --git a/hosts/kilgharrah/default.nix b/hosts/kilgharrah/default.nix index 4fd8469..3a834fb 100644 --- a/hosts/kilgharrah/default.nix +++ b/hosts/kilgharrah/default.nix @@ -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" ]; diff --git a/hosts/kilgharrah/sound.nix b/hosts/kilgharrah/sound.nix new file mode 100644 index 0000000..cb97bd4 --- /dev/null +++ b/hosts/kilgharrah/sound.nix @@ -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 +} \ No newline at end of file