diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-17 15:16:41 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-17 15:16:41 +0100 |
commit | 76b1910868e1d2df1b1e1904ec266a3d2ec0201f (patch) | |
tree | 99e0ffa57ec44707a247be75b391c1765ebdffde | |
parent | 146edf5f3bf232f78a1dfac0f57c14d961b3f1e1 (diff) | |
download | nixos-76b1910868e1d2df1b1e1904ec266a3d2ec0201f.tar nixos-76b1910868e1d2df1b1e1904ec266a3d2ec0201f.tar.gz nixos-76b1910868e1d2df1b1e1904ec266a3d2ec0201f.tar.bz2 nixos-76b1910868e1d2df1b1e1904ec266a3d2ec0201f.tar.xz nixos-76b1910868e1d2df1b1e1904ec266a3d2ec0201f.zip |
First draft of letsencrypt container
-rw-r--r-- | ymir.nix | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -184,4 +184,19 @@ in rec { | |||
184 | enable = true; | 184 | enable = true; |
185 | basePath = services.gitolite.dataDir + "/repositories"; | 185 | basePath = services.gitolite.dataDir + "/repositories"; |
186 | }; | 186 | }; |
187 | |||
188 | containers.letsencrypt = { | ||
189 | autoStart = true; | ||
190 | privateNetwork = true; | ||
191 | hostAddress = "192.168.0.1"; | ||
192 | localAddress = "192.168.0.2"; | ||
193 | config = { | ||
194 | services.fcron = { | ||
195 | enable = true; | ||
196 | systab = '' | ||
197 | # letsencrypt | ||
198 | ''; | ||
199 | }; | ||
200 | }; | ||
201 | }; | ||
187 | } | 202 | } |