mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
fish: remove source path hack
This commit is contained in:
parent
bfc1a002bf
commit
f1f6c45634
2 changed files with 0 additions and 53 deletions
|
|
@ -10,7 +10,6 @@
|
|||
in {
|
||||
imports = [
|
||||
./aliasesAbbrs.nix
|
||||
./sourcePaths.nix
|
||||
];
|
||||
|
||||
home.sessionVariables = lib.mapAttrs (_: path: "${config.home.homeDirectory}/${path}") {
|
||||
|
|
@ -59,27 +58,6 @@ in {
|
|||
(builtins.readDir ./functions);
|
||||
|
||||
programs.fish = {
|
||||
sourcePaths =
|
||||
[
|
||||
# Make sure wrapper comes first
|
||||
# https://discourse.nixos.org/t/sudo-run-current-system-sw-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set-and-cannot-chdir-var-cron-bailing-out-var-cron-permission-denied/20463/2
|
||||
"/run/wrappers/bin"
|
||||
|
||||
# Make sure nixcpp with the specified version in the flake come first
|
||||
"${config.nix.package}/bin"
|
||||
|
||||
"${config.home.homeDirectory}/.nix-profile/bin"
|
||||
"/nix/profile/bin"
|
||||
"${config.home.homeDirectory}/.local/state/nix/profile/bin"
|
||||
|
||||
"/etc/profiles/per-user/${config.home.username}/bin"
|
||||
|
||||
"/nix/var/nix/profiles/default/bin"
|
||||
"/run/current-system/sw/bin"
|
||||
]
|
||||
# Add brew, but as fallback
|
||||
++ (lib.optional pkgs.stdenv.isDarwin "/opt/homebrew/bin");
|
||||
|
||||
interactiveShellInit = builtins.readFile ./shellInit.fish;
|
||||
|
||||
plugins = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue