diff --git a/modules/programs/nix-your-shell.nix b/modules/programs/nix-your-shell.nix index 5e19e8801..20b5fd19e 100644 --- a/modules/programs/nix-your-shell.nix +++ b/modules/programs/nix-your-shell.nix @@ -39,6 +39,7 @@ in { nushell = mkIf cfg.enableNushellIntegration { extraEnv = '' + mkdir ${config.xdg.cacheHome}/nix-your-shell ${cfg.package}/bin/nix-your-shell nu | save --force ${config.xdg.cacheHome}/nix-your-shell/init.nu '';