From 7fd992b616b283ebb172c26e643379191ba793d8 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 19 Jul 2023 10:06:00 +0100 Subject: [PATCH] Add taskwarrior, add ohmyzsh with plugins --- home/shell/default.nix | 5 +++++ home/shell/zsh.nix | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/home/shell/default.nix b/home/shell/default.nix index 65c5755b..f950e177 100644 --- a/home/shell/default.nix +++ b/home/shell/default.nix @@ -29,6 +29,11 @@ enableXsessionIntegration = true; }; starship.enable = true; + taskwarrior = { + enable = true; + dataLocation = "$HOME/tasks"; + colorTheme = "dark-violets-256"; + }; }; xdg.configFile."starship.toml".source = ./starship.toml; } diff --git a/home/shell/zsh.nix b/home/shell/zsh.nix index 9f443738..9a789864 100644 --- a/home/shell/zsh.nix +++ b/home/shell/zsh.nix @@ -11,6 +11,24 @@ dotDir = ".config/zsh"; historySubstringSearch.enable = true; history.path = "${config.xdg.dataHome}/zsh/history"; + oh-my-zsh = { + enable = true; + plugins = [ + # Productivity + "aliases" + "colored-man-pages" + "command-not-found" + "extract" + "taskwarrior" + # Build tools + "git" + "gitignore" + # Misc + "lol" + "rand-quote" + ]; + theme = ""; + }; }; direnv.enableZshIntegration = true; fzf.enableZshIntegration = true;