add bolty as substituter

This commit is contained in:
Cyryl Płotnicki 2022-12-25 19:46:20 +00:00
parent 3d9b180ca6
commit 67bc078773
3 changed files with 3 additions and 9 deletions

View file

@ -3,13 +3,4 @@
pkgs, pkgs,
... ...
}: { }: {
networking.firewall.allowedTCPPorts = [10000 10001];
services.minio = {
enable = true;
region = "home";
dataDir = ["/var/lib/minio/data"];
configDir = "/var/lib/minio/config";
listenAddress = ":10000";
consoleAddress = ":10001";
};
} }

View file

@ -27,4 +27,5 @@
builders-use-substitutes = true builders-use-substitutes = true
''; '';
nix.distributedBuilds = true; nix.distributedBuilds = true;
nix.settings.substituters = ["nix-builder@bolty" "https://cache.nixos.org/"];
} }

View file

@ -29,4 +29,6 @@ in {
}; };
nix.settings.trusted-users = ["root" "nix-builder"]; nix.settings.trusted-users = ["root" "nix-builder"];
nix.sshServe.enable = true;
nix.sshServe.keys = authorizedKeys;
} }