summaryrefslogtreecommitdiff
path: root/modules/packages/fish.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/packages/fish.nix')
-rw-r--r--modules/packages/fish.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/packages/fish.nix b/modules/packages/fish.nix
new file mode 100644
index 0000000..fb3223d
--- /dev/null
+++ b/modules/packages/fish.nix
@@ -0,0 +1,23 @@
+{inputs, ...}: {
+ perSystem = {
+ self',
+ pkgs,
+ ...
+ }: let
+ fishConf = ''
+ function fish_greeting
+ fastfetch
+ end
+
+ fish_vi_key_bindings
+ '';
+ in {
+ packages.fish = inputs.wrappers.lib.wrapPackage {
+ inherit pkgs;
+ package = pkgs.fish;
+ flags = {
+ "-C" = "source ${fishConf}";
+ };
+ };
+ };
+}