about summary refs log tree commit diff
path: root/lib/my.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-12-02 01:13:53 +0300
committerazahi <azat@bahawi.net>2024-12-02 01:13:53 +0300
commit0df7936405dd7cfa1ed518441a154b03f1aa57bc (patch)
treede5a0042316f821475e829885c3120aaa6725926 /lib/my.nix
parent2024-11-30 (diff)
2024-12-02 HEAD master
Diffstat (limited to 'lib/my.nix')
-rw-r--r--lib/my.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/my.nix b/lib/my.nix
index c8f9d3d..b60d980 100644
--- a/lib/my.nix
+++ b/lib/my.nix
@@ -254,6 +254,29 @@ with lib;
             syncthing.id = "@SYNCTHING_ID@";
           };
 
+          # VPS in Russia.
+          tulkas = {
+            stateVersion = "24.05";
+            deviceIcon = "devices.cloud-server";
+            system = "x86_64-linux";
+            isHeadless = true;
+            ipv4 = {
+              gatewayAddress = "@IPV4_ADDRESS@";
+              address = "@IPV4_ADDRESS@";
+              prefixLength = 32;
+            };
+            ipv6 = {
+              gatewayAddress = "@IPV6_ADDRESS@";
+              address = "@IPV6_ADDRESS@";
+              prefixLength = 64;
+            };
+            wireguard = {
+              ipv4.address = "10.69.0.4";
+              ipv6.address = "fd69::0:4";
+              publicKey = "@PUBLIC_KEY@";
+            };
+          };
+
           # A beefy desktop: 7950x/rx6750xt/128GB.
           eonwe = {
             stateVersion = "24.05";

Consider giving Nix/NixOS a try! <3