Refactor attic configuration as module

This commit is contained in:
Fabian Hauser 2024-12-08 17:45:54 +02:00
parent cf86743d68
commit 752bed060b
6 changed files with 102 additions and 89 deletions

View file

@ -7,14 +7,15 @@
{
imports = [
./attic.nix
./nixpkgs-cache.nix
];
qois.git-ci-runner.enable = true;
qois.attic.enable = true;
qois.postgresql.package = pkgs.postgresql_15;
# Remove substituters that are hosted on this node, to prevent lockups.
# Remove substituters that are hosted on this node, to prevent lockups
# since the current nix implementation is not forgiving with unavailable subsituters.
# The qois-infrastructure cache is not needed,
# since the builds are done (and cached) on this host anyway.
nix.settings.substituters = lib.mkForce [