From 75ebc337036439e6e9b3b7badbe14063fc3ddee9 Mon Sep 17 00:00:00 2001 From: Mirko Lenz Date: Sun, 28 Jan 2024 21:30:28 +0100 Subject: [PATCH] fix: add system manager bin to fish path --- modules/fish.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 modules/fish.nix diff --git a/modules/fish.nix b/modules/fish.nix new file mode 100644 index 0000000..ea66d63 --- /dev/null +++ b/modules/fish.nix @@ -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 + ''; + }; +}