Add chaospott.nix
This commit is contained in:
parent
08f480a81a
commit
66df64ad34
3 changed files with 12 additions and 1 deletions
10
components/chaospott.nix
Normal file
10
components/chaospott.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9,6 +9,7 @@
|
||||||
./nixos
|
./nixos
|
||||||
./terminal
|
./terminal
|
||||||
./yubikey.nix
|
./yubikey.nix
|
||||||
|
./chaospott.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# some system stuff
|
# some system stuff
|
||||||
|
|
|
@ -7,7 +7,7 @@ with lib;
|
||||||
default = config.components.gui.enable;
|
default = config.components.gui.enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf (config.components.gui.pass.enable) {
|
config = mkIf (config.components.gui.audio.enable) {
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue