1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

gpg-agent: write nushell initialization to config file

According to the nushell docs (https://www.nushell.sh/book/configuration.html#configuration-overview):

"The first file loaded is env.nu, which was historically used to override environment variables. However, the current "best-practice" recommendation is to set all environment variables (and other configuration) using config.nu and the autoload directories below."
This commit is contained in:
Joaquín Triñanes 2025-09-17 13:18:57 +02:00 committed by Austin Horstman
parent b035546241
commit bc8967cdb0

View file

@ -377,7 +377,7 @@ in
programs.zsh.initContent = mkIf cfg.enableZshIntegration gpgZshInitStr;
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration gpgFishInitStr;
programs.nushell.extraEnv = mkIf cfg.enableNushellIntegration gpgNushellInitStr;
programs.nushell.extraConfig = mkIf cfg.enableNushellIntegration gpgNushellInitStr;
}
(mkIf (cfg.sshKeys != null) {