summaryrefslogtreecommitdiff
path: root/users/seth/shell/fish.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-06 18:20:12 -0400
committerseth <[email protected]>2024-07-09 15:38:51 -0400
commit399012d647d5e08b01b33345b7711851090ee6d4 (patch)
treeaf92879a91656186ab599bec3907ab2f94e1a9a3 /users/seth/shell/fish.nix
parent7ddcf749a83b10110e7b4fb10aadd26084fdcce3 (diff)
seth: drop nix-your-shell
Diffstat (limited to 'users/seth/shell/fish.nix')
-rw-r--r--users/seth/shell/fish.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix
index e74155b..2afdf96 100644
--- a/users/seth/shell/fish.nix
+++ b/users/seth/shell/fish.nix
@@ -21,13 +21,11 @@ in
enable = true;
# TODO: do i still need this weird sourcing?
- interactiveShellInit = ''
+ interactiveShellInit = lib.optionalString config.seth.standalone.enable ''
set -l nixfile ${config.home.homeDirectory}/.nix-profile/etc/profile.d/nix.fish
if test -e $nixfile
source $nixfile
end
-
- ${lib.getExe pkgs.nix-your-shell} fish | source
'';
functions = {