S3 cache setup

This commit is contained in:
Filippo Berto 2024-09-08 22:09:25 +02:00
parent 75726dc403
commit 7720224bbd
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
8 changed files with 45 additions and 1 deletions

View file

@ -1,7 +1,11 @@
{
security.sudo.wheelNeedsPassword = false;
nix.settings = {
substituters = [ "https://hyprland.cachix.org" ];
substituters = [
"s3://nix-cache?endpoint=heimdall.tsn:9000&scheme=http"
"s3://nix-cache?endpoint=s3.bertof.net"
"https://hyprland.cachix.org"
];
trusted-users = [
"root"