From 1641c19d0b367ebe9eca15f269c9f8dbf020c113 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 8 Dec 2015 21:23:09 +0300 Subject: [PATCH] nixos/simp_le: use /var/lib/simp_le as root dir by default /etc on NixOS is regenerated on boot and there was movement towards making it read-only -- so let's keep dynamic state elsewhere. --- nixos/modules/services/security/simp_le.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/security/simp_le.nix b/nixos/modules/services/security/simp_le.nix index 927359da0d3..31eb89da55c 100644 --- a/nixos/modules/services/security/simp_le.nix +++ b/nixos/modules/services/security/simp_le.nix @@ -97,7 +97,7 @@ in options = { services.simp_le = { directory = mkOption { - default = "/etc/ssl"; + default = "/var/lib/simp_le"; type = types.str; description = '' Directory where certs and other state will be stored by default.