remove fish shell init thing

This commit is contained in:
notgne2 2022-11-05 19:07:03 -07:00
parent 4db1d965e6
commit da7a0d3ec6
Signed by: notgne2
SSH Key Fingerprint: SHA256:qlFCAimT/PvNIG3u+aYT9pIqFCWgu6sNsWjpV1vHLIE
2 changed files with 7 additions and 14 deletions

View File

@ -40,12 +40,12 @@
daemonCPUSchedPolicy = lib.mkDefault "idle";
trustedUsers = ["root" "builder" "@wheel"];
extraOptions = ''
builders-use-substitutes = true
experimental-features = nix-command flakes
keep-outputs = true
keep-derivations = true
'';
settings = {
builders-use-substitutes = true;
experimental-features = ["nix-command" "flakes" "repl-flake"];
keep-outputs = true;
keep-derivations = true;
};
};
# make nginx have good logging and defaults

View File

@ -79,15 +79,8 @@ inputs: {
src = inputs.done;
}
];
shellInit = ''
if not set -q NIX_PATH
set --prepend fish_function_path ${pkgs.fishPlugins.foreign-env}/share/fish/vendor_functions.d
fenv source $HOME/.nix-profile/etc/profile.d/nix.sh
set -e fish_function_path[1]
end
'';
interactiveShellInit = ''
set -U __done_min_cmd_duration 2000
set -U __done_min_cmd_duration 4000
set -U fish_key_bindings fish_default_key_bindings