Skip to content

Commit

Permalink
mini: Enable sharing of nix store as a binary cache
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed May 8, 2024
1 parent e478fc8 commit 3b7ba3e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion nix/hosts/mini/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,21 @@
# };

# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 80 443 53 ];
networking.firewall.allowedTCPPorts = [ 80 443 53 3001 ];
networking.firewall.allowedUDPPorts = [ 53 ];

# Packages
environment.systemPackages = with pkgs; [
wakeonlan
];

# Enable sharing of Nix store as a binary cache
services.nix-serve = {
enable = true;
port = 3001;
secretKeyFile = "/root/secrets/mini.local-1";
};

# Enable AdGuard Home
services.adguardhome = {
enable = true;
Expand Down

0 comments on commit 3b7ba3e

Please sign in to comment.