This repository has no description
0

Configure Feed

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

retiolum: generate secrets with generator.path

+5 -1
+5 -1
2configs/retiolum.nix
··· 27 27 secrets."retiolum.ed25519_key.priv" = { }; 28 28 facts."retiolum.rsa_key.pub" = { }; 29 29 facts."retiolum.ed25519_key.pub" = { }; 30 + generator.path = with pkgs; [ 31 + coreutils 32 + tinc_pre 33 + ]; 30 34 generator.script = '' 31 - ${pkgs.tinc_pre}/bin/tinc --config "$secrets" generate-keys 4096 >/dev/null 35 + tinc --config "$secrets" generate-keys 4096 >/dev/null 32 36 mv "$secrets"/rsa_key.priv "$secrets"/retiolum.rsa_key.priv 33 37 mv "$secrets"/ed25519_key.priv "$secrets"/retiolum.ed25519_key.priv 34 38 mv "$secrets"/rsa_key.pub "$facts"/retiolum.rsa_key.pub