basically do everything all over again
This commit is contained in:
parent
5b52fa03ce
commit
60243a304b
4 changed files with 7 additions and 7 deletions
|
@ -37,7 +37,7 @@
|
||||||
"https://cache.cything.io/central"
|
"https://cache.cything.io/central"
|
||||||
];
|
];
|
||||||
extra-trusted-public-keys = [
|
extra-trusted-public-keys = [
|
||||||
"central:cuiJMi+5BFUGeBPNMNWiKO6dlVTOHbHizFY+t7UW12w="
|
"central:uWhjva6m6dhC2hqNisjn2hXGvdGBs19vPkA1dPEuwFg="
|
||||||
];
|
];
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,14 +19,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
garbage-collection = {
|
garbage-collection = {
|
||||||
default-retention-period = "3 months";
|
default-retention-period = "1 minute";
|
||||||
};
|
};
|
||||||
|
|
||||||
chunking = {
|
chunking = {
|
||||||
nar-size-threshold = 0; # disables chunking
|
nar-size-threshold = 0; # disables chunking
|
||||||
min-size = 64 * 1024 * 1024;
|
min-size = 0;
|
||||||
avg-size = 128 * 1024 * 1024;
|
avg-size = 0;
|
||||||
max-size = 256 * 1024 * 1024;
|
max-size = 0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
ExecStartPre = "/usr/bin/env mkdir -p /mnt/attic";
|
ExecStartPre = "/usr/bin/env mkdir -p /mnt/attic";
|
||||||
ExecStart = "${lib.getExe pkgs.rclone} mount --config ${
|
ExecStart = "${lib.getExe pkgs.rclone} mount --config ${
|
||||||
config.sops.secrets."rclone/config".path
|
config.sops.secrets."rclone/config".path
|
||||||
} --cache-dir /var/cache/rclone --transfers=32 --allow-other --cache-dir /var/cache/rclone --dir-cache-time 72h --vfs-cache-mode writes --vfs-cache-max-size 2G rsyncnet:attic /mnt/attic ";
|
} --cache-dir /var/cache/rclone --transfers=32 --allow-other rsyncnet:attic /mnt/attic ";
|
||||||
ExecStop = "${lib.getExe' pkgs.fuse "fusermount"} -u /mnt/attic";
|
ExecStop = "${lib.getExe' pkgs.fuse "fusermount"} -u /mnt/attic";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
flake-registry = "";
|
flake-registry = "";
|
||||||
trusted-users = [ "root" "@wheel" ];
|
trusted-users = [ "root" "@wheel" ];
|
||||||
trusted-public-keys = [ "central:cuiJMi+5BFUGeBPNMNWiKO6dlVTOHbHizFY+t7UW12w=" ];
|
trusted-public-keys = [ "central:uWhjva6m6dhC2hqNisjn2hXGvdGBs19vPkA1dPEuwFg=" ];
|
||||||
substituters = [ "https://cache.cything.io/central" ];
|
substituters = [ "https://cache.cything.io/central" ];
|
||||||
};
|
};
|
||||||
channel.enable = false;
|
channel.enable = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue