1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 20:01:08 +01:00

fix(engiadina): dont delete cdn directory

This commit is contained in:
2021-04-19 20:02:10 +02:00
parent 9a4b9946cb
commit b93f4a49e0

View File

@@ -4,13 +4,17 @@ let
cdnRoot = "/run/engiadina"; cdnRoot = "/run/engiadina";
in in
{ {
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = map tmpfilesConfig [
(tmpfilesConfig { {
type = "d"; type = "d";
path = cdnRoot; path = cdnRoot;
mode = "0775"; mode = "0775";
user = config.users.users.me.name; user = config.users.users.me.name;
}) }
{
type = "x";
path = "${cdnRoot}/*";
}
]; ];
services.nginx = { services.nginx = {