fix tor unlock for chungus
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 10m6s

This commit is contained in:
Ingolf Wagner 2024-08-08 21:19:42 +02:00
parent 1b9105f158
commit 0780abb35d
Signed by: palo
GPG key ID: 76BF5F1928B9618B
2 changed files with 11 additions and 7 deletions

View file

@ -16,10 +16,14 @@ with types;
name = "initrd";
addressPrefix = "init";
};
boot.initrd.secrets = {
"/etc/tor/onion/bootup/tor.priv" = config.clan.core.facts.services."initrd.tor".secret."tor.initrd.priv".path;
"/etc/tor/onion/bootup/hostname" = config.clan.core.facts.services."initrd.tor".secret."tor.initrd.hostname".path;
};
boot.initrd.secrets =
mapAttrs' (name: file: nameValuePair "/etc/tor/onion/bootup/${name}" file)
(genAttrs [
"hostname"
"hs_ed25519_public_key"
"hs_ed25519_secret_key"
]
(secret: config.clan.core.facts.services."initrd.tor".secret."tor.initrd.${secret}".path));
boot.initrd.systemd.storePaths = [
pkgs.tor

View file

@ -150,11 +150,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1721508205,
"narHash": "sha256-X4xVtKAkA/gVqIaCw0L5Rk9062VqlHiH0VK5En5Oi5s=",
"lastModified": 1723143645,
"narHash": "sha256-/71L2ZBM9AmUpEQC19Rf7AxA+BhIquObB8aZDkfVRz8=",
"owner": "mrvandalo",
"repo": "clan-fact-generators",
"rev": "b3fb36c18871861f510330c272b455eb718cd3e4",
"rev": "620c5d3185594b3e2d91e29a7590f44abae4319c",
"type": "github"
},
"original": {