This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tor-ssh: migrate to vars

+8 -7
+8 -7
2configs/tor-ssh.nix
··· 16 16 client.enable = true; 17 17 }; 18 18 19 - clanCore.facts.services.tor-ssh = { 20 - secret."ssh-tor.priv" = { }; 21 - secret."tor-hostname" = { }; 22 - generator.path = with pkgs; [ 19 + clanCore.vars.generators.tor-ssh = { 20 + files."ssh-tor.priv" = { }; 21 + files."tor-hostname".deploy = false; 22 + migrateFact = "tor-ssh"; 23 + runtimeInputs = with pkgs; [ 23 24 coreutils 24 25 mkp224o 25 26 ]; 26 - generator.script = '' 27 + script = '' 27 28 mkp224o-donna lass -n 1 -d . -q -O addr 28 - mv "$(cat addr)"/hs_ed25519_secret_key "$secrets"/ssh-tor.priv 29 - mv addr "$secrets"/tor-hostname 29 + mv "$(cat addr)"/hs_ed25519_secret_key "$out"/ssh-tor.priv 30 + mv addr "$out"/tor-hostname 30 31 ''; 31 32 }; 32 33 }