diff --git a/flake.nix b/flake.nix index 161fc92..68e3c0e 100644 --- a/flake.nix +++ b/flake.nix @@ -159,7 +159,7 @@ rust-project TODO: write shell script for automatically updating `cargoHash` config.systemd.services.time_tracker = let cfg = config.services.time_tracker; pkg = self.packages.${system}.time_tracker; - in { + in lib.mkIf cfg.enable { description = "Nextcloud Time Tracker"; serviceConfig = { Type = "oneshot";