diff options
| -rw-r--r-- | custom/simp_le.nix | 4 | ||||
| -rw-r--r-- | ymir.nix | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/custom/simp_le.nix b/custom/simp_le.nix index 8178bb1a..e03e2b2c 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | { domains ? [] | 1 | { domains ? [] |
| 2 | , simp_le | 2 | , simp_le |
| 3 | , lib | 3 | , lib |
| 4 | , stdenv | ||
| 5 | , writeText | 4 | , writeText |
| 6 | }: | 5 | }: |
| 7 | 6 | ||
| @@ -9,5 +8,4 @@ let | |||
| 9 | getcert = domain: '' | 8 | getcert = domain: '' |
| 10 | echo ${domain} >> /tmp/domains.test | 9 | echo ${domain} >> /tmp/domains.test |
| 11 | ''; | 10 | ''; |
| 12 | all = "#!${stdenv}/bin/bash\n\n" + lib.concatMapStringsSep "\n" getcert domains; | 11 | in writeText "certs.sh" (lib.concatMapStringsSep "\n" getcert domains) |
| 13 | in writeText "certs.sh" all | ||
| @@ -131,7 +131,7 @@ in rec { | |||
| 131 | systab = '' | 131 | systab = '' |
| 132 | %weekly * * nix-collect-garbage --delete-older-than '7d' | 132 | %weekly * * nix-collect-garbage --delete-older-than '7d' |
| 133 | 133 | ||
| 134 | %monthly * * * ${pkgs.callPackage ./custom/simp_le.nix { domains = ["dirty-haskell.org" "www.dirty-haskell.org" "git.yggdrasil.li" "git.dirty-haskell.org" "git.141.li"]; } } | 134 | %monthly * * * ${pkgs.stdenv}/bin/bash ${pkgs.callPackage ./custom/simp_le.nix { domains = ["dirty-haskell.org" "www.dirty-haskell.org" "git.yggdrasil.li" "git.dirty-haskell.org" "git.141.li"]; } } |
| 135 | ''; | 135 | ''; |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
