From 5b7dcf6f7fec12d7506f2a1665217631e4d2f0b7 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 27 Feb 2017 08:46:35 -0500 Subject: Update pincer nixos config. --- nixos/configuration.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'nixos') 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; } -- cgit v1.2.3