Merge pull request #312181 from Moraxyc/fix-atop-mkSystemd

nixos/atop: fix mkSystemd
This commit is contained in:
Aleksana 2024-05-16 20:54:52 +08:00 committed by GitHub
commit 7d94720e49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) ];