mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08: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:
committed by
Austin Horstman
parent
b035546241
commit
bc8967cdb0
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user