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:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user