Personal-use NixOS configuration
1{
2 flakeRoot,
3 pkgs,
4 lib,
5 ...
6}:
7
8{
9 programs.fish = {
10 enable = true;
11
12 plugins = with pkgs.fishPlugins; [
13 {
14 name = "bobthefish";
15 src = bobthefish.src;
16 }
17 ];
18
19 interactiveShellInit = ''
20 set fish_greeting # Disable greeting
21 '';
22
23 functions = {
24 develop = ''
25 nix develop ${flakeRoot}#$argv[1] --command ${lib.getExe pkgs.fish}
26 '';
27 };
28 };
29}