Fix $EDITOR and add taskwarrior updates

This commit is contained in:
Malte Tammena 2021-11-14 10:50:56 +01:00
parent 88848cb5d1
commit 62af95f658
4 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, config, ... }:
let
leader = ''","'';
@ -273,4 +273,7 @@ in {
EDITOR = "${pkgs.neovim}/bin/nvim";
VISUAL = "${pkgs.kitty}/bin/kitty ${pkgs.neovim}/bin/nvim";
};
pam.sessionVariables = {
EDITOR = config.systemd.user.sessionVariables.EDITOR;
};
}

View file

@ -46,6 +46,8 @@
sysu = "systemctl --user";
sysus = "systemctl --user status";
dev = "nix develop -c fish";
nix-todo = "task add project:nixos +computer";
};
shellAliases = {
kal = "khal list (date '+%d.%m.%Y') (date --date='+1week' '+%d.%m.%Y')";

View file

@ -27,7 +27,7 @@ in {
columns = "uuid";
sort = "reviewed+,modified+";
filter =
"( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING )";
"( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING )";
};
};
};

View file

@ -83,6 +83,7 @@ let
in {
programs.neovim = {
enable = true;
defaultEditor = true;
configure = {
customRC = myConfiguration;
packages.myVimPackage = with pkgs.vimPlugins; {