remove fish shell init thing
This commit is contained in:
parent
4db1d965e6
commit
da7a0d3ec6
12
common.nix
12
common.nix
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user