Commit ac4d24ad7ffa

Vincent Demeester <vincent@sbr.pm>
2018-12-16 17:02:22
massimo: enable nix-binary-cache and fix firewall conf
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 7f9d9a7
Changed files (2)
machine
modules
machine/massimo.nix
@@ -19,6 +19,10 @@ with import ../assets/machines.nix; {
   networking.firewall.allowPing = true;
   networking.firewall.allowedTCPPorts = [ 5000 ];
   services = {
+    nix-binary-cache = {
+      enable = true;
+      domain = "massimo.local";
+    };
     athens = {
       enable = true;
       user = "vincent";
modules/services/nix-binary-cache.nix
@@ -19,7 +19,7 @@ in
     };
   };
   config = mkIf cfg.enable {
-    network.firewall.allowedTCPPorts = [ 80 443];
+    networking.firewall.allowedTCPPorts = [ 80 443];
     services.nginx = {
       enable = true;
       appendHttpConfig = ''