mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-27 13:21:28 +00:00
try to move forgejo to a slice
This commit is contained in:
parent
b6ed70a058
commit
d7f283468a
|
@ -146,7 +146,14 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.forgejo.unitConfig.RequiresMountsFor =
|
systemd.services.forgejo = {
|
||||||
lib.mkIf sp.useBinds "/volumes/${cfg.location}/gitea";
|
unitConfig.RequiresMountsFor = lib.mkIf sp.useBinds "/volumes/${cfg.location}/gitea";
|
||||||
|
serviceConfig = {
|
||||||
|
Slice = "gitea.slice";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
systemd.slices.gitea = {
|
||||||
|
description = "Forgejo service slice";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue