From 09169c205c357275165631607b4d96a95f422920 Mon Sep 17 00:00:00 2001 From: willemml Date: Fri, 10 Nov 2023 23:54:34 -0800 Subject: [PATCH] Enables the zerotier service on nixos --- nixos/hosts/nixbox.nix | 1 + nixos/modules/zerotier.nix | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 nixos/modules/zerotier.nix diff --git a/nixos/hosts/nixbox.nix b/nixos/hosts/nixbox.nix index efbf7df..dba6fd6 100644 --- a/nixos/hosts/nixbox.nix +++ b/nixos/hosts/nixbox.nix @@ -10,6 +10,7 @@ ../profiles/hyprland.nix ../profiles/default.nix ../modules/users/willem/home.nix + ../modules/zerotier.nix ]; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"]; diff --git a/nixos/modules/zerotier.nix b/nixos/modules/zerotier.nix new file mode 100644 index 0000000..f518489 --- /dev/null +++ b/nixos/modules/zerotier.nix @@ -0,0 +1,4 @@ +{...}: { + services.zerotierone.enable = true; + services.zerotierone.joinNetworks = ["17d709436ca2929d"]; +}