nixos/atop: fix mkSystemd

This commit is contained in:
Moraxyc
2024-05-16 19:53:25 +08:00
parent bcd8880c1d
commit e704b94191
+2 -2
View File
@@ -120,8 +120,8 @@ in
wantedBy = [ (if type == "services" then "multi-user.target" else if type == "timers" then "timers.target" else null) ];
};
};
mkService = lib.mkSystemd "services";
mkTimer = lib.mkSystemd "timers";
mkService = mkSystemd "services";
mkTimer = mkSystemd "timers";
in
{
packages = [ atop (lib.mkIf cfg.netatop.enable cfg.netatop.package) ];