mirror of
https://github.com/kmein/niveum
synced 2026-03-29 16:51:07 +02:00
+ todo.txt setup
This commit is contained in:
15
configs/todo-txt.nix
Normal file
15
configs/todo-txt.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
let todo-txt-config = pkgs.writeText "todo.cfg" ''
|
||||
export TODO_DIR="$HOME/cloud/Dropbox/todo"
|
||||
|
||||
export TODO_FILE="$TODO_DIR/todo.txt"
|
||||
export DONE_FILE="$TODO_DIR/done.txt"
|
||||
export REPORT_FILE="$TODO_DIR/report.txt"
|
||||
'';
|
||||
in {
|
||||
environment = {
|
||||
systemPackages = [ pkgs.todo-txt-cli ];
|
||||
shellAliases.t = "todo.sh -d ${todo-txt-config}";
|
||||
variables.TODOTXT_DEFAULT_ACTION = "ls";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user