fix[server]: get cache working

This commit is contained in:
Leon Schwarzäugl 2025-11-27 03:25:34 +01:00
parent 0c3aee7997
commit 969ae3302d
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
16 changed files with 1245 additions and 292 deletions

View file

@ -23,13 +23,35 @@
isBtrfs = true;
isNixos = true;
isLinux = true;
isCloud = true;
proxyHost = "belchsfactory";
server = {
inherit (config.repo.secrets.local.networking) localNetwork;
garage = {
data_dir = {
capacity = "150G";
path = "/var/lib/garage/data";
};
keys = {
nixos = [
"attic"
];
};
buckets = [
"attic"
];
};
};
};
} // lib.optionalAttrs (!minimal) {
swarselprofiles = {
server = true;
};
swarselmodules.server = {
postgresql = lib.mkDefault true;
attic = lib.mkDefault true;
garage = lib.mkDefault true;
};
}

View file

@ -29,12 +29,10 @@
server = {
inherit (config.repo.secrets.local.networking) localNetwork;
garage = {
data_dir = [
{
capacity = "200G";
path = "/Vault/data/garage/main";
}
];
data_dir = {
capacity = "200G";
path = "/Vault/data/garage/data";
};
};
};
};