add zerotier

This commit is contained in:
zuckerberg 2021-06-04 03:48:00 -04:00
parent 9c6bfe70d6
commit 4da53d7764
2 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,7 @@
imports = [ imports = [
./flakes.nix ./flakes.nix
./pia.nix ./pia.nix
./zerotier.nix
./boot/firmware.nix ./boot/firmware.nix
./boot/efi.nix ./boot/efi.nix
./boot/bios.nix ./boot/bios.nix

11
common/zerotier.nix Normal file
View File

@ -0,0 +1,11 @@
{ lib, config, ... }:
let
cfg = config.services.zerotierone;
in {
config = lib.mkIf cfg.enable {
services.zerotierone.joinNetworks = [
"565799d8f6d654c0"
];
};
}