summary refs log tree commit diff
path: root/hosts/vps
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-08-24 19:17:56 +0300
committertzlil <tzlils@protonmail.com>2023-08-24 19:17:56 +0300
commit84ce2ad9126ad41958dc2e7492d989c7c63acf08 (patch)
treedaaa7b5a88b26c882b225523e01be27275096aee /hosts/vps
parent6197695dfb24f1ae3269359fb9e189b24fdd86a3 (diff)
uhhh work a bit on firefox and add yank to mpv
Diffstat (limited to 'hosts/vps')
-rw-r--r--hosts/vps/default.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/hosts/vps/default.nix b/hosts/vps/default.nix
index ba0fdb9..cfa50c7 100644
--- a/hosts/vps/default.nix
+++ b/hosts/vps/default.nix
@@ -32,12 +32,15 @@
     systemd.network.networks."10-ens3" = {
       matchConfig.Name = "ens3";
       networkConfig.DHCP = "yes";
-      dns = ["127.0.0.1" "::1"];
       dhcpV4Config = {
         UseDNS = false;
       };
+      dhcpV6Config = {
+        UseDNS = false;
+      };
       ipv6AcceptRAConfig = {
         UseDNS = false;
+        DHCPv6Client = false;
       };
     };
 
@@ -48,6 +51,11 @@
         user = "terraria";
         group = "terraria";
       }
+      {
+        directory = "/var/lib/private/${config.services.factorio.stateDirName}";
+        user = "root";
+        group = "root";
+      }
     ];
 
     services.terraria = {
@@ -56,5 +64,11 @@
       password = "???";
       openFirewall = true;
     };
+    services.factorio = {
+      enable = true;
+      openFirewall = true;
+      game-password = "???";
+      requireUserVerification = false;
+    };
   };
 }