nixos/anubis: make all instances part of a system slice (#522265)

This commit is contained in:
isabel
2026-07-20 19:18:46 +00:00
committed by GitHub
@@ -374,6 +374,10 @@ in
anubis = { };
};
systemd.slices.system-anubis = {
description = "Anubis AI Firewall System Slice";
documentation = [ "https://anubis.techaro.lol" ];
};
systemd.services = lib.mapAttrs' (
name: instance:
lib.nameValuePair "${instanceName name}" {
@@ -396,6 +400,7 @@ in
);
serviceConfig = {
Slice = "system-anubis.slice";
User = instance.user;
Group = instance.group;
DynamicUser = true;