Skip to content

Commit

Permalink
fix: add system manager bin to fish path
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Jan 28, 2024
1 parent 333e597 commit 75ebc33
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/fish.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# https://github.com/numtide/system-manager/blob/main/nix/modules/environment.nix
{pkgs, ...}: {
environment.etc."fish/conf.d/wi2-system-manager-path.fish".source = pkgs.writeTextFile {
name = "wi2-system-manager-path.fish";
executable = true;
text = ''
set -gx PATH "/run/system-manager/sw/bin" $PATH
'';
};
}

0 comments on commit 75ebc33

Please sign in to comment.