move zerotier secret generation into nixos module

This commit is contained in:
Jörg Thalheim
2023-09-26 17:31:45 +02:00
parent 5d9ee64ddc
commit 74a3c85c29
15 changed files with 142 additions and 139 deletions

View File

@@ -16,7 +16,6 @@
, sops
, stdenv
, wheel
, zerotierone
, fakeroot
, rsync
, ui-assets
@@ -49,7 +48,6 @@ let
runtimeDependencies = [
bash
nix
zerotierone
fakeroot
openssh
sshpass
@@ -77,10 +75,6 @@ let
'';
nixpkgs' = runCommand "nixpkgs" { nativeBuildInputs = [ nix ]; } ''
mkdir $out
mkdir -p $out/unfree
cat > $out/unfree/default.nix <<EOF
import "${nixpkgs}" { config = { allowUnfree = true; overlays = []; }; }
EOF
cat > $out/flake.nix << EOF
{
description = "dependencies for the clan-cli";