feat: Added substitutes in mirai
This commit is contained in:
@@ -31,13 +31,6 @@
|
|||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
extra-experimental-features = "nix-command flakes auto-allocate-uids";
|
extra-experimental-features = "nix-command flakes auto-allocate-uids";
|
||||||
trusted-users = ["root" "fs0c131y" "remotebuilder"];
|
trusted-users = ["root" "fs0c131y" "remotebuilder"];
|
||||||
};
|
|
||||||
extraOptions = ''
|
|
||||||
build-users-group = nixbld
|
|
||||||
extra-nix-path = nixpkgs=flake:nixpkgs
|
|
||||||
builders-use-substitutes = true
|
|
||||||
secret-key-files = ${config.sops.secrets."builder/mirai/cache/private".path}
|
|
||||||
'';
|
|
||||||
substituters = [
|
substituters = [
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
# "https://sh.darksailor.dev"
|
# "https://sh.darksailor.dev"
|
||||||
@@ -46,6 +39,13 @@
|
|||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
# "mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM="
|
# "mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM="
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
extraOptions = ''
|
||||||
|
build-users-group = nixbld
|
||||||
|
extra-nix-path = nixpkgs=flake:nixpkgs
|
||||||
|
builders-use-substitutes = true
|
||||||
|
secret-key-files = ${config.sops.secrets."builder/mirai/cache/private".path}
|
||||||
|
'';
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "daily";
|
dates = "daily";
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./llama.nix
|
./llama.nix
|
||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
./nextcloud.nix
|
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./vscode.nix
|
./vscode.nix
|
||||||
|
# ./nextcloud.nix
|
||||||
# ./seafile.nix
|
# ./seafile.nix
|
||||||
# ./navidrome.nix
|
# ./navidrome.nix
|
||||||
# ./ldap.nix
|
# ./ldap.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user