This repository has no description
0

Configure Feed

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

configs.internet-gateway: migrate facts to vars

+8 -7
+8 -7
2configs/mail/internet-gateway.nix
··· 9 9 "nginx" 10 10 ]; 11 11 12 - clan.core.facts.services."lassul.us-dkim" = { 13 - secret."lassul.us.dkim.priv" = { }; 14 - public."lassul.us.dkim.pub" = { }; 15 - generator.path = with pkgs; [ 12 + clan.core.vars.generators.lassul-us-dkim = { 13 + files."lassul.us.dkim.priv" = { }; 14 + files."lassul.us.dkim.pub" = { }; 15 + migrateFact = "lassul.us-dkim"; 16 + runtimeInputs = with pkgs; [ 16 17 coreutils 17 18 openssl 18 19 ]; 19 - generator.script = '' 20 - openssl genrsa -out "$secrets"/lassul.us.dkim.priv 2048 21 - openssl rsa -in "$secrets"/lassul.us.dkim.priv -pubout -outform der 2>/dev/null | openssl base64 -A > "$facts"/lassul.us.dkim.pub 20 + script = '' 21 + openssl genrsa -out "$out"/lassul.us.dkim.priv 2048 22 + openssl rsa -in "$out"/lassul.us.dkim.priv -pubout -outform der 2>/dev/null | openssl base64 -A > "$out"/lassul.us.dkim.pub 22 23 ''; 23 24 }; 24 25