nixos-config/components/chaospott.nix
2025-02-14 20:16:23 +13:00

21 lines
402 B
Nix

{
config,
lib,
pkgs,
...
}:
with lib;
{
options.components.chaospott.enable = mkOption {
type = lib.types.bool;
default = config.components.gui.enable;
};
config = mkIf (config.components.chaospott.enable && config.components.gui.audio.enable) {
services.pulseaudio.zeroconf.discovery.enable = true;
environment.systemPackages = with pkgs; [
paprefs
];
};
}