diff --git a/nixos/common/zerotier.nix b/nixos/common/zerotier.nix index 117e393..7c9e6ad 100644 --- a/nixos/common/zerotier.nix +++ b/nixos/common/zerotier.nix @@ -1,7 +1,7 @@ {...}: { services.zerotierone = { enable = true; - joinNetworks = [""]; + joinNetworks = ["23992b9a659115b6"]; }; networking = { diff --git a/nixos/flake.lock b/nixos/flake.lock index 3537782..56bedad 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -10,11 +10,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1745630506, - "narHash": "sha256-bHCFgGeu8XjWlVuaWzi3QONjDW3coZDqSHvnd4l7xus=", + "lastModified": 1747575206, + "narHash": "sha256-NwmAFuDUO/PFcgaGGr4j3ozG9Pe5hZ/ogitWhY+D81k=", "owner": "ryantm", "repo": "agenix", - "rev": "96e078c646b711aee04b82ba01aefbff87004ded", + "rev": "4835b1dc898959d8547a871ef484930675cb47f1", "type": "github" }, "original": { @@ -52,11 +52,11 @@ ] }, "locked": { - "lastModified": 1746729224, - "narHash": "sha256-9R4sOLAK1w3Bq54H3XOJogdc7a6C2bLLmatOQ+5pf5w=", + "lastModified": 1747742835, + "narHash": "sha256-kYL4GCwwznsypvsnA20oyvW8zB/Dvn6K5G/tgMjVMT4=", "owner": "nix-community", "repo": "disko", - "rev": "85555d27ded84604ad6657ecca255a03fd878607", + "rev": "df522e787fdffc4f32ed3e1fca9ed0968a384d62", "type": "github" }, "original": { @@ -127,11 +127,11 @@ ] }, "locked": { - "lastModified": 1742568034, - "narHash": "sha256-QaMEhcnscfF2MqB7flZr+sLJMMYZPnvqO4NYf9B4G38=", + "lastModified": 1747663185, + "narHash": "sha256-Obh50J+O9jhUM/FgXtI3he/QRNiV9+J53+l+RlKSaAk=", "owner": "nix-community", "repo": "nixos-generators", - "rev": "42ee229088490e3777ed7d1162cb9e9d8c3dbb11", + "rev": "ee07ba0d36c38e9915c55d2ac5a8fb0f05f2afcc", "type": "github" }, "original": { @@ -142,11 +142,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1746576598, - "narHash": "sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0=", + "lastModified": 1747728033, + "narHash": "sha256-NnXFQu7g4LnvPIPfJmBuZF7LFy/fey2g2+LCzjQhTUk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b3582c75c7f21ce0b429898980eddbbf05c68e55", + "rev": "2f9173bde1d3fbf1ad26ff6d52f952f9e9da52ea", "type": "github" }, "original": { diff --git a/nixos/server/premhome-gc1/configuration.nix b/nixos/server/premhome-gc1/configuration.nix index 9b3d836..72b1d1a 100644 --- a/nixos/server/premhome-gc1/configuration.nix +++ b/nixos/server/premhome-gc1/configuration.nix @@ -2,10 +2,18 @@ config, pkgs, ... -}: { - imports = [../../common/users.nix ../../common/zerotier.nix ../../common/k3s.nix]; +}: +{ + imports = [ + ../../common/users.nix + ../../common/zerotier.nix + ../../common/k3s.nix + ]; nix = { - settings.experimental-features = ["nix-command" "flakes"]; + settings.experimental-features = [ + "nix-command" + "flakes" + ]; }; nixpkgs.config.allowUnfree = true; @@ -38,10 +46,17 @@ ]; networking = { - nameservers = [ "1.1.1.1" "8.8.8.8" ]; + nameservers = [ + "1.1.1.1" + "8.8.8.8" + ]; firewall = { enable = true; - allowedTCPPorts = [22 80 443]; + allowedTCPPorts = [ + 22 + 80 + 443 + ]; }; interfaces.ens3 = { ipv4 = {