add attic-sync-hydra service. refactor attic to its own module

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-06-22 12:36:23 -04:00
committed by Alice Huston
parent 306fd0de17
commit de71eb7919
4 changed files with 143 additions and 80 deletions

View File

@ -49,8 +49,6 @@
};
environment.systemPackages = with pkgs; [
attic-client
attic
docker-compose
intel-gpu-tools
jellyfin-ffmpeg
@ -74,14 +72,6 @@
superuser_map /^(.*)$ \1
'';
ensureDatabases = [ "atticd" ];
ensureUsers = [
{
name = "atticd";
ensureDBOwnership = true;
}
];
# initialScript = config.sops.secrets."postgres/init".path;
upgrade = {
@ -93,7 +83,6 @@
"hydra-queue-runner"
"hydra-send-stats"
"hydra-server"
"atticd"
];
};
};