treewide: nushell build time configs suffixed

Add filetype suffix for LSP/tree-sitter support.
This commit is contained in:
Austin Horstman 2025-04-02 10:01:35 -05:00
parent 180fd43eea
commit 53cacafd9b
12 changed files with 12 additions and 12 deletions

View file

@ -124,7 +124,7 @@ in {
programs.nushell = mkIf cfg.enableNushellIntegration {
extraConfig = ''
source ${
pkgs.runCommand "atuin-nushell-config" { } ''
pkgs.runCommand "atuin-nushell-config.nu" { } ''
${lib.getExe cfg.package} init nu ${flagsStr} >> "$out"
''
}

View file

@ -44,7 +44,7 @@ in {
nushell = lib.mkIf cfg.enableNushellIntegration {
extraConfig = ''
source ${
pkgs.runCommand "carapace-nushell-config" { } ''
pkgs.runCommand "carapace-nushell-config.nu" { } ''
${bin} _carapace nushell >> "$out"
''
}

View file

@ -31,7 +31,7 @@ in {
nushell = lib.mkIf cfg.enableNushellIntegration {
extraConfig = ''
source ${
pkgs.runCommand "nix-your-shell-nushell-config" { } ''
pkgs.runCommand "nix-your-shell-nushell-config.nu" { } ''
${lib.getExe cfg.package} nu >> "$out"
''
}

View file

@ -82,7 +82,7 @@ in {
programs.nushell = mkIf cfg.enableNushellIntegration {
extraConfig = ''
source ${
pkgs.runCommand "oh-my-posh-nushell-config" { } ''
pkgs.runCommand "oh-my-posh-nushell-config.nu" { } ''
${
lib.getExe cfg.package
} init nu ${configArgument} --print >> "$out"

View file

@ -51,7 +51,7 @@ in {
nushell.extraConfig = lib.mkIf cfg.enableNushellIntegration ''
source ${
pkgs.runCommand "pay-respects-nushell-config" { } ''
pkgs.runCommand "pay-respects-nushell-config.nu" { } ''
${payRespectsCmd} nushell ${cfgOptions} >> "$out"
''
}

View file

@ -128,7 +128,7 @@ in {
# not done here.
extraConfig = ''
use ${
pkgs.runCommand "starship-nushell-config" { } ''
pkgs.runCommand "starship-nushell-config.nu" { } ''
${lib.getExe cfg.package} init nu >> "$out"
''
}

View file

@ -53,7 +53,7 @@ in {
programs.nushell = lib.mkIf cfg.enableNushellIntegration {
extraConfig = ''
source ${
pkgs.runCommand "zoxide-nushell-config" { } ''
pkgs.runCommand "zoxide-nushell-config.nu" { } ''
${lib.getExe cfg.package} init nushell ${cfgOptions} >> "$out"
''
}