mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
feat: friendship ended with todo.txt
This commit is contained in:
@@ -244,7 +244,6 @@ in {
|
||||
./theming.nix
|
||||
./tmux.nix
|
||||
./tor.nix
|
||||
./todo-txt.nix
|
||||
./traadfri.nix
|
||||
./unclutter.nix
|
||||
./version.nix
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
vim-colors-paramount = pkgs.callPackage <niveum/packages/vimPlugins/vim-colors-paramount.nix> { };
|
||||
vim-256noir = pkgs.callPackage <niveum/packages/vimPlugins/vim-256noir.nix> { };
|
||||
icalendar-vim = pkgs.callPackage <niveum/packages/vimPlugins/icalendar-vim.nix> { };
|
||||
todo-txt-vim = pkgs.callPackage <niveum/packages/vimPlugins/todo-txt-vim.nix> { };
|
||||
jq-vim = pkgs.callPackage <niveum/packages/vimPlugins/jq-vim.nix> { };
|
||||
vim-fsharp = pkgs.callPackage <niveum/packages/vimPlugins/vim-fsharp.nix> { };
|
||||
vim-reason-plus = pkgs.callPackage <niveum/packages/vimPlugins/vim-reason-plus.nix> { };
|
||||
@@ -65,7 +64,6 @@
|
||||
jq-vim
|
||||
purescript-vim
|
||||
rust-vim
|
||||
todo-txt-vim
|
||||
typescript-vim
|
||||
vim-fsharp
|
||||
vim-javascript
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
get-todo-dir = pkgs.writers.writeDash "git-toplevel-todo" ''
|
||||
if GIT_TOPLEVEL=$(${pkgs.git}/bin/git rev-parse --show-toplevel 2>/dev/null); then
|
||||
echo "$GIT_TOPLEVEL/.todo"
|
||||
else
|
||||
echo "$HOME/cloud/Dropbox/todo"
|
||||
fi
|
||||
'';
|
||||
in {
|
||||
home-manager.users.me.home.file.".todo/config".text = ''
|
||||
# export TODO_DIR="$(${get-todo-dir})"
|
||||
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"
|
||||
'';
|
||||
|
||||
environment = {
|
||||
systemPackages = [ pkgs.todo-txt-cli ];
|
||||
shellAliases.t = "todo.sh";
|
||||
variables.TODOTXT_DEFAULT_ACTION = "ls";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user