aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-08-11 19:55:26 +0800
committerZhongheng Liu <z.liu@outlook.com.gr>2024-08-11 19:55:26 +0800
commitbe06b26ff90168d824f2cc6d4f496f987a6d5a10 (patch)
tree59f2638229ee7541c165ec3cd5212a2ea995a416
parentc3500f337ed081c434f2af1ea6464a8cfd56e26c (diff)
downloadnixos-configuration-be06b26ff90168d824f2cc6d4f496f987a6d5a10.tar.gz
nixos-configuration-be06b26ff90168d824f2cc6d4f496f987a6d5a10.tar.bz2
nixos-configuration-be06b26ff90168d824f2cc6d4f496f987a6d5a10.zip
feat: add fish git alias plugin
-rw-r--r--home-manager/stvnliu/shells/fish.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/home-manager/stvnliu/shells/fish.nix b/home-manager/stvnliu/shells/fish.nix
index 438760f..2c6d444 100644
--- a/home-manager/stvnliu/shells/fish.nix
+++ b/home-manager/stvnliu/shells/fish.nix
@@ -8,9 +8,7 @@
in
with lib; {
options = {
- myShells.fish = {
- enable = mkEnableOption "Enables fish and components.";
- };
+ myShells.fish = {enable = mkEnableOption "Enables fish and components.";};
};
config = mkIf cfg.enable {
programs.fish = {
@@ -29,6 +27,10 @@ in
sha256 = "0c5i7sdrsp0q3vbziqzdyqn4fmp235ax4mn4zslrswvn8g3fvdyh";
};
}
+ {
+ name = "plugin-git";
+ src = pkgs.fishPlugins.plugin-git.src;
+ }
];
};
};