{ config, lib, pkgs, inputs, ... }: with lib; { config = mkMerge [ (mkIf config.nathan.programs.util.fish { ######################### ## Fish Configuration ######################### programs.fish = { # Custom configuration interactiveShellInit = '' for p in /run/current-system/sw/bin if not contains $p $fish_user_paths set -g fish_user_paths $p $fish_user_paths end end for p in /etc/profiles/per-user/nathan/bin if not contains $p $fish_user_paths set -g fish_user_paths $p $fish_user_paths end end ''; }; }) ]; }