diff --git a/templates/new-clan/flake.nix b/templates/new-clan/flake.nix index 65b5f6500..085400396 100644 --- a/templates/new-clan/flake.nix +++ b/templates/new-clan/flake.nix @@ -22,6 +22,7 @@ jon = { imports = [ ./modules/shared.nix + ./modules/disko.nix ./machines/jon/configuration.nix ]; @@ -35,7 +36,7 @@ # TODO: Example how to use disko for more complicated setups # remote> lsblk --output NAME,PTUUID,FSTYPE,SIZE,MOUNTPOINT - clan.diskLayouts.singleDiskExt4 = { + disko.devices.disk.main = { device = "/dev/disk/by-id/__CHANGE_ME__"; }; @@ -62,11 +63,10 @@ disko.devices.disk.main = { device = "/dev/disk/by-id/__CHANGE_ME__"; }; - - clan.networking.zerotier.networking.enable = true; /* After jon is deployed, uncomment the following line This will allow sara to share the VPN overlay network with jon + The networkId is generated by the first deployment of jon */ # clan.networking.zerotier.networkId = builtins.readFile ../jon/facts/zerotier-network-id; };