mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
new VPS
This commit is contained in:
parent
9c55432be1
commit
8c6441a941
4 changed files with 22 additions and 6 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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 ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue