summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2017-02-27 08:46:35 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2017-02-27 08:46:35 -0500
commit5b7dcf6f7fec12d7506f2a1665217631e4d2f0b7 (patch)
treef411dc39dc75cb1020a3c20fe2443d7aa4176f12 /nixos
parentf64a151034ea2b235aa66a45cd28c7b61706c870 (diff)
Update pincer nixos config.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/configuration.nix18
1 files changed, 12 insertions, 6 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 8e3df93..4fa6e29 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -2,11 +2,15 @@
{
hardware.bluetooth.enable = true;
- hardware.pulseaudio.enable = true;
- hardware.pulseaudio.package = pkgs.pulseaudioFull;
- hardware.pulseaudio.tcp.enable = true;
- hardware.pulseaudio.tcp.anonymousClients.allowAll = true;
hardware.enableAllFirmware = true;
+ hardware.pulseaudio = {
+ enable = true;
+ package = pkgs.pulseaudioFull;
+ tcp.enable = true;
+ tcp.anonymousClients.allowAll = true;
+ zeroconf.discovery.enable = true;
+ zeroconf.publish.enable = true;
+ };
boot.earlyVconsoleSetup = true;
boot.cleanTmpDir = true;
@@ -14,6 +18,8 @@
networking.networkmanager.enable = true;
# networking.wireless.enable = true;
networking.firewall.enable = true;
+ networking.firewall.allowedUDPPorts = [1900];
+ networking.firewall.allowedTCPPorts = [8080 18080];
programs.zsh.enable = true;
programs.fish.enable = true;
@@ -188,7 +194,7 @@
};
};
- nix.maxJobs = 4;
- nix.buildCores = 4;
+ nix.maxJobs = 8;
+ nix.buildCores = 0; # as many as I have CPUs
nix.useSandbox = true;
}