19 lines
434 B
Nix
Raw Normal View History

2023-11-04 02:28:27 +01:00
{ lib, config, pkgs, ... }:
let cfg = config.hostcfg.make.gui;
in {
config = lib.mkIf cfg {
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
wireplumber.enable = true;
};
environment.systemPackages = with pkgs; [ easyeffects ];
};
}