diff --git a/common/common.nix b/common/common.nix index bb5be31..12701e2 100644 --- a/common/common.nix +++ b/common/common.nix @@ -4,6 +4,7 @@ imports = [ ./flakes.nix ./pia.nix + ./zerotier.nix ./boot/firmware.nix ./boot/efi.nix ./boot/bios.nix diff --git a/common/zerotier.nix b/common/zerotier.nix new file mode 100644 index 0000000..95b2ae8 --- /dev/null +++ b/common/zerotier.nix @@ -0,0 +1,11 @@ +{ lib, config, ... }: + +let + cfg = config.services.zerotierone; +in { + config = lib.mkIf cfg.enable { + services.zerotierone.joinNetworks = [ + "565799d8f6d654c0" + ]; + }; +} \ No newline at end of file