This commit is contained in:
nora 2024-07-28 12:46:10 +02:00
parent 9c55432be1
commit 8c6441a941
4 changed files with 22 additions and 6 deletions

View file

@ -123,6 +123,18 @@
age.secrets.docker_registry_password.file = ./secrets/docker_registry_password.age; age.secrets.docker_registry_password.file = ./secrets/docker_registry_password.age;
networking.hostName = name;
deployment.tags = [ "ingress" "eu" "apps" ];
system.stateVersion = "23.11";
};
vps3 = { name, nodes, modulesPath, ... }: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
./modules/contabo
./modules/ingress
./modules/minio
];
networking.hostName = name; networking.hostName = name;
deployment.tags = [ "ingress" "eu" "apps" ]; deployment.tags = [ "ingress" "eu" "apps" ];
system.stateVersion = "23.11"; system.stateVersion = "23.11";

View file

@ -11,6 +11,7 @@ let
dns2 = normalHost "128.140.3.7" "2a01:4f8:c2c:d616::"; dns2 = normalHost "128.140.3.7" "2a01:4f8:c2c:d616::";
vps1 = normalHost "161.97.165.1" null; vps1 = normalHost "161.97.165.1" null;
vps3 = normalHost "134.255.181.139" null;
in in
# vps1 contains root noratrieb.dev # vps1 contains root noratrieb.dev
vps1 // { vps1 // {
@ -39,6 +40,7 @@ let
inherit dns1; inherit dns1;
inherit dns2; inherit dns2;
inherit vps1; inherit vps1;
inherit vps3;
}; };
}; };
}; };

View file

@ -1,6 +1,7 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-ed25519 cVCt6g aURyPoqVOIH8dVpkyn+mb8rxwv1hw2hazAgLj/qDxzM -> ssh-ed25519 cVCt6g 4Q/z0+zqH3m8VaD7A7PJyFUx0JUBV1pf5PQGOlmxp0M
bOkR3mOiK9pA8CQxTGLpd52UyrTWvZ4cPz4m/khin5w O/R9ophtwIKD5xD5gyorWd4g705IO9cukIfM+7ibOuI
--- ALJ+6QKzH/CrCZ8FzdeWFRFZKFt6YOF0bKpLri7yCpU -> ssh-ed25519 JZjRLQ 6VSR982/8P7s0eBUrPFdjMRJe3fpKtsW9CGmm+MAsAc
ºòNB¤aøŸJya¹«ïÝß »Â8ôó—[<5B>½Õ‡é¶¼˜†Cɳ7X“¾<E2809C>³MB»ºC!«¶ÿc pm_wD¤äézÍoยîóHéª'Ûi§ ã /emWV8UZOLR9iLiquBOKORupaKs1Xou+rifetyGe3YE
®…ÆóÓi8ÅýÉ:t/=`OüªkZÒ± --- XOM5G09L1ARNe9+SMoiObzVWFLQbuFpfOM7iExyZTVo
`MzhT<13>>5|` ª÷åC$y<><>eE7})íôn·ÅCí¯`µBð2"&J1„Ek“?)§N/]„¡ã»[*²ä•*uC·ÐctW×ë1Ìû:]¶|†Îp¬ÇÂÞZ<C39E>X

View file

@ -1,9 +1,10 @@
let let
vps1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOixcV3SGAWRCMYYn+ybioFSBhpfkYzSU1nX+g6e5jI5"; vps1 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOixcV3SGAWRCMYYn+ybioFSBhpfkYzSU1nX+g6e5jI5";
vps3 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDM2e3h6Z2HcKDP6mkBip/5M41AegUdSdNa9mc8LrXpR";
in in
{ {
"widetom_bot_token.age".publicKeys = [ vps1 ]; "widetom_bot_token.age".publicKeys = [ vps1 ];
"widetom_config_toml.age".publicKeys = [ vps1 ]; "widetom_config_toml.age".publicKeys = [ vps1 ];
"docker_registry_password.age".publicKeys = [ vps1 ]; "docker_registry_password.age".publicKeys = [ vps1 ];
"minio_env_file.age".publicKeys = [ vps1 ]; "minio_env_file.age".publicKeys = [ vps1 vps3 ];
} }