base/various: add to slice system-monitoring

This commit is contained in:
h7x4
2026-06-13 04:30:40 +09:00
parent 526b55c49a
commit b533b09c8f
7 changed files with 29 additions and 6 deletions
+3 -1
View File
@@ -23,7 +23,7 @@ in
};
};
systemd.services.uptimed = lib.mkIf (cfg.enable) {
systemd.services.uptimed = lib.mkIf cfg.enable {
serviceConfig = let
uptimed = pkgs.uptimed.overrideAttrs (prev: {
postPatch = ''
@@ -35,6 +35,8 @@ in
});
in {
Slice = "system-monitoring.slice";
Type = "notify";
ExecStart = lib.mkForce "${uptimed}/sbin/uptimed -f";