mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-06-15 09:09:14 +02:00
base/various: add to slice system-monitoring
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user