Add chaospott.nix

This commit is contained in:
Ingolf Wagner 2024-06-14 18:52:15 +02:00
parent 08f480a81a
commit 66df64ad34
Signed by: palo
GPG key ID: 76BF5F1928B9618B
3 changed files with 12 additions and 1 deletions

10
components/chaospott.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = mkIf (config.components.gui.audio.enable) {
hardware.pulseaudio.zeroconf.discovery.enable = true;
environment.systemPackages = with pkgs; [
paprefs
];
};
}

View file

@ -9,6 +9,7 @@
./nixos
./terminal
./yubikey.nix
./chaospott.nix
];
# some system stuff

View file

@ -7,7 +7,7 @@ with lib;
default = config.components.gui.enable;
};
config = mkIf (config.components.gui.pass.enable) {
config = mkIf (config.components.gui.audio.enable) {
security.rtkit.enable = true;