summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-17 15:16:41 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-17 15:16:41 +0100
commit76b1910868e1d2df1b1e1904ec266a3d2ec0201f (patch)
tree99e0ffa57ec44707a247be75b391c1765ebdffde
parent146edf5f3bf232f78a1dfac0f57c14d961b3f1e1 (diff)
downloadnixos-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.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 0c1bf437..f3011c46 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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}