update chaospott.nix

This commit is contained in:
Ingolf Wagner 2024-06-14 19:17:31 +02:00
parent 66df64ad34
commit 03b6ee17c2
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -1,7 +1,13 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = mkIf (config.components.gui.audio.enable) {
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) {
hardware.pulseaudio.zeroconf.discovery.enable = true;
environment.systemPackages = with pkgs; [
paprefs