forked from Fediversity/Fediversity
closes #93. note that this includes classes: - `nixos` - `nixosTest` - `nixops4Resource` - `nixops4Deployment` .. and my (made-up, as per the [docs](https://ryantm.github.io/nixpkgs/module-system/module-system/#module-system-lib-evalModules-param-class)): - `nix-unit` - `package` .. while i did not manage to cover: - service tests, given `pkgs.nixosTest` seemed to not actually like `_class = "nixosTest"` (?!) ... nor #93's mentioned destructured arguments for that matter, as per Fediversity/Fediversity#93 (comment) - let me know if that is still desired as well. Reviewed-on: Fediversity/Fediversity#398 Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Kiara Grouwstra <kiara@procolix.eu> Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
21 lines
456 B
Nix
21 lines
456 B
Nix
{
|
|
_class = "nixops4Resource";
|
|
|
|
fediversityVm = {
|
|
vmId = 7003;
|
|
proxmox = "fediversity";
|
|
|
|
hostPublicKey = builtins.readFile ./ssh_host_ed25519_key.pub;
|
|
unsafeHostPrivateKey = builtins.readFile ./ssh_host_ed25519_key;
|
|
|
|
domain = "abundos.eu";
|
|
ipv4 = {
|
|
address = "95.215.187.53";
|
|
gateway = "95.215.187.1";
|
|
};
|
|
ipv6 = {
|
|
address = "2a00:51c0:13:1305::53";
|
|
gateway = "2a00:51c0:13:1305::1";
|
|
};
|
|
};
|
|
}
|