Work on hydra config, fix tor relay config, prepare web-public-2 host

This commit is contained in:
fi 2023-07-18 17:23:46 +02:00
parent 64d9dbd4b0
commit c6f4780ccd
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
15 changed files with 176 additions and 9 deletions

View file

@ -17,6 +17,9 @@
jackett = {
site = "vs";
};
#hydra = {
# site = "vs";
#};
};
generateColmenaHost = name: host : {
@ -39,5 +42,33 @@
};
};
} // builtins.mapAttrs (self.generateColmenaHost) self.hosts;
/* generateNixosSystem = {
name,
system ? "x86_64-linux",
group ? null,
modules ? [],
}:
let localNixpkgs = nixpkgs.lib.attrByPath [ "nixpkgs-${name}" ] nixpkgs inputs;
in localNixpkgs.lib.nixosSystem {
modules = modules ++ [
./configuration/common
./users/yuri
./users/colmena-deploy
(./hosts + "/${name}")
];
}; */
hydraJobs = {
nixConfigurations.nitter = let system = "x86_64-linux";
in nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./configuration/common
./configuration/proxmox-vm
./hosts/nitter
];
};
};
};
}