From 121590f74fdd061069f5aae54029b9cc2aaf7fa0 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 9 Sep 2023 19:15:15 -0700 Subject: [PATCH] added missing enable flag --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";