diff options
| author | scouckel <james.krinsky@gmail.com> | 2026-04-02 20:49:34 -0400 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2026-04-02 20:49:34 -0400 |
| commit | 50044b7a87bc9f59452855a96a2013c9b000a0a1 (patch) | |
| tree | c00948706d76ab9b9eceb051c4b1c45d16dc7e3d /modules/packages/fish.nix | |
| parent | eae1e605a04e7e78cac7052a5cc284de5f9ee87f (diff) | |
big work done
Diffstat (limited to 'modules/packages/fish.nix')
| -rw-r--r-- | modules/packages/fish.nix | 23 |
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}"; + }; + }; + }; +} |
