summaryrefslogtreecommitdiff
path: root/modules/packages/fish.nix
diff options
context:
space:
mode:
authorscouckel <james.krinsky@gmail.com>2026-04-02 20:49:34 -0400
committerscouckel <james.krinsky@gmail.com>2026-04-02 20:49:34 -0400
commit50044b7a87bc9f59452855a96a2013c9b000a0a1 (patch)
treec00948706d76ab9b9eceb051c4b1c45d16dc7e3d /modules/packages/fish.nix
parenteae1e605a04e7e78cac7052a5cc284de5f9ee87f (diff)
big work done
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..8df609d
--- /dev/null
+++ b/modules/packages/fish.nix
@@ -0,0 +1,23 @@
+{
+ inputs,
+ lib,
+ ...
+}: {
+ perSystem = {pkgs, ...}: let
+ fishConf = pkgs.writeText "fishConf" ''
+ function fish_greeting
+ ${lib.getExe pkgs.fastfetch}
+ end
+
+ fish_vi_key_bindings
+ '';
+ in {
+ packages.fish = inputs.wrappers.lib.wrapPackage {
+ inherit pkgs;
+ package = pkgs.fish;
+ flags = {
+ "-C" = "source ${fishConf}";
+ };
+ };
+ };
+}