update chaospott.nix
This commit is contained in:
parent
66df64ad34
commit
03b6ee17c2
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,13 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
with lib;
|
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;
|
hardware.pulseaudio.zeroconf.discovery.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
paprefs
|
paprefs
|
||||||
|
|
Loading…
Reference in a new issue