From 277141bbe257ca8dcf9b2f91141e7874b96b8698 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 4 Apr 2025 16:44:46 +0200 Subject: fix(modules/timewarrior): Use the correct attribute path for the taskwarrior config --- modules/by-name/ti/timewarrior/module.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'modules/by-name') diff --git a/modules/by-name/ti/timewarrior/module.nix b/modules/by-name/ti/timewarrior/module.nix index e4087e69..d6b4dc32 100644 --- a/modules/by-name/ti/timewarrior/module.nix +++ b/modules/by-name/ti/timewarrior/module.nix @@ -56,24 +56,24 @@ in { enable = lib.mkEnableOption "timewarrior"; }; config = lib.mkIf cfg.enable { + soispha.programs.taskwarrior = { + hooks = { + track-timewarrior = { + mode = "on-modify"; + executable = track_timewarrior; + }; + track-total-active-time = { + mode = "on-modify"; + executable = track_total_active_time; + }; + }; + }; + home-manager.users.soispha = { home.packages = [ pkgs.timewarrior ]; - soispha.programs.taskwarrior = { - hooks = { - track-timewarrior = { - mode = "on-modify"; - executable = track_timewarrior; - }; - track-total-active-time = { - mode = "on-modify"; - executable = track_total_active_time; - }; - }; - }; - xdg.configFile."timewarrior/timewarrior.cfg".text = '' # source: https://github.com/arcticicestudio/igloo #+----+ -- cgit 1.4.1