nginx should take care of the acme folder
This commit is contained in:
parent
366b298239
commit
ac8edd6665
1 changed files with 19 additions and 0 deletions
|
|
@ -20,5 +20,24 @@
|
||||||
defaults.email = "osbm@osbm.dev";
|
defaults.email = "osbm@osbm.dev";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(lib.mkIf
|
||||||
|
(
|
||||||
|
config.osbmModules.services.nginx.enable
|
||||||
|
&& config.osbmModules.hardware.disko.zfs.root.impermanenceRoot
|
||||||
|
)
|
||||||
|
{
|
||||||
|
environment.persistence."/persist" = {
|
||||||
|
directories = [
|
||||||
|
{
|
||||||
|
directory = "/var/lib/acme";
|
||||||
|
user = "acme";
|
||||||
|
group = "acme";
|
||||||
|
mode = "0750";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue