Taskwarrior: Difference between revisions
Appearance
first version of Taskwarrior |
manage credentials with sops-nix |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[https://taskwarrior.org/ Taskwarrior] is an open-source, cross platform time and task management tool, used to keep track of and handle tasks. It uses a command-line interface, there are also graphical user interface wrappers ( | [https://taskwarrior.org/ Taskwarrior] is an open-source, cross platform time and task management tool, used to keep track of and handle tasks. It uses a command-line interface, there are also graphical user interface wrappers (nixpkgs: vit) and a tool for reviews (nixpkgks: tasksh) available. | ||
== Installation == | == Installation == | ||
| Line 5: | Line 5: | ||
* Taskwarrior (Version 2.6.2): taskwarrior | * Taskwarrior (Version 2.6.2): taskwarrior | ||
* Taskwarrior (Version 3.X): taskwarrior3 | * Taskwarrior (Version 3.X): taskwarrior3 | ||
== Configuration == | == Configuration == | ||
| Line 15: | Line 15: | ||
=== Version 3 of Taskwarrior === | === Version 3 of Taskwarrior === | ||
use [https://search.nixos.org/options?channel=unstable&query=services.taskchampion-sync-server taskchampion] | |||
see [https://taskwarrior.org/docs/upgrade-3/] | see [https://taskwarrior.org/docs/upgrade-3/] | ||
=== Manage sync credentials with sops-nix and home-manager === | |||
<syntaxhighlight lang="nixos"> | |||
sops.secrets."taskwarrior_credentials" = { }; | |||
programs.taskwarrior = { | |||
enable = true; | |||
package = pkgs.taskwarrior3; | |||
extraConfig = '' | |||
include ${config.sops.secrets.taskwarrior_credentials.path} | |||
''; | |||
}; | |||
</syntaxhighlight>and in your sops-nix secrets file add:<syntaxhighlight lang="yaml"> | |||
taskwarrior_credentials: | | |||
sync.server.url=https://taskchampion.example.com/ | |||
sync.server.client_id=a2c1fa14-c43a-4a07-b5bf-cbeb01b1239b | |||
sync.encryption_secret=veryverysecret | |||
</syntaxhighlight> | |||
[[Category:Applications]] | [[Category:Applications]] | ||
Latest revision as of 10:14, 27 November 2026
Taskwarrior is an open-source, cross platform time and task management tool, used to keep track of and handle tasks. It uses a command-line interface, there are also graphical user interface wrappers (nixpkgs: vit) and a tool for reviews (nixpkgks: tasksh) available.
Installation
Taskwarrior can be installed as package from nixpkgs:
- Taskwarrior (Version 2.6.2): taskwarrior
- Taskwarrior (Version 3.X): taskwarrior3
Configuration
There are no configuration options in NixOS.
Sync Server
Version 2 of Taskwarrior
see Taskserver
Version 3 of Taskwarrior
use taskchampion
see [1]
Manage sync credentials with sops-nix and home-manager
sops.secrets."taskwarrior_credentials" = { };
programs.taskwarrior = {
enable = true;
package = pkgs.taskwarrior3;
extraConfig = ''
include ${config.sops.secrets.taskwarrior_credentials.path}
'';
};
and in your sops-nix secrets file add:
taskwarrior_credentials: |
sync.server.url=https://taskchampion.example.com/
sync.server.client_id=a2c1fa14-c43a-4a07-b5bf-cbeb01b1239b
sync.encryption_secret=veryverysecret