diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-02-26 01:28:56 +0000 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-02-26 01:28:56 +0000 |
commit | 65254feece79f3d1b5859c9220c8f5ba10ba28dd (patch) | |
tree | 3509f0c1a12e8ad008d407a7d8cbad3149587643 /ymir.nix | |
parent | c05c42df458d21a75b970c6ef18071f061857f99 (diff) | |
parent | b848cdd2e63781c4cd01518ebec7e9bf81ce7781 (diff) | |
download | nixos-65254feece79f3d1b5859c9220c8f5ba10ba28dd.tar nixos-65254feece79f3d1b5859c9220c8f5ba10ba28dd.tar.gz nixos-65254feece79f3d1b5859c9220c8f5ba10ba28dd.tar.bz2 nixos-65254feece79f3d1b5859c9220c8f5ba10ba28dd.tar.xz nixos-65254feece79f3d1b5859c9220c8f5ba10ba28dd.zip |
Merge branch 'master' of git.yggdrasil.li:nixos
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -13,6 +13,7 @@ let | |||
13 | cert = "certs/${name}.crt"; | 13 | cert = "certs/${name}.crt"; |
14 | }; | 14 | }; |
15 | }; | 15 | }; |
16 | simp_le = pkgs.callPackage ./custom/simp_le.nix {}; | ||
16 | in rec { | 17 | in rec { |
17 | imports = | 18 | imports = |
18 | [ | 19 | [ |
@@ -128,7 +129,11 @@ in rec { | |||
128 | services.fcron = { | 129 | services.fcron = { |
129 | enable = true; | 130 | enable = true; |
130 | systab = '' | 131 | systab = '' |
131 | %weekly * * nix-collect-garbage --delete-older-than '7d' | 132 | %weekly * * nix-collect-garbage --delete-older-than '7d' |
133 | %monthly,jitter(300) * * * ${simp_le "/etc/nginx/ssl/git.yggdrasil.li" "git.yggdrasil.li"} | ||
134 | %monthly,jitter(300) * * * ${simp_le "/etc/nginx/ssl/dirty-haskell.org" "dirty-haskell.org"} | ||
135 | %monthly,jitter(300) * * * ${simp_le "/etc/nginx/ssl/www.dirty-haskell.org" "www.dirty-haskell.org"} | ||
136 | %daily * * systemctl reload nginx.service | ||
132 | ''; | 137 | ''; |
133 | }; | 138 | }; |
134 | 139 | ||
@@ -235,7 +240,7 @@ in rec { | |||
235 | readme=:readme.txt | 240 | readme=:readme.txt |
236 | readme=:readme | 241 | readme=:readme |
237 | 242 | ||
238 | clone-url=git://git.yggdrasil.li/$CGIT_REPO_NAME http://git.yggdrasil.li/$CGIT_REPO_NAME | 243 | clone-prefix=git://git.yggdrasil.li http://git.yggdrasil.li |
239 | 244 | ||
240 | strict-export=git-daemon-export-ok | 245 | strict-export=git-daemon-export-ok |
241 | project-list=/srv/git/projects.list | 246 | project-list=/srv/git/projects.list |