mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-25 08:59:58 +02:00
792a7e7bfc
feat: change darwin's default shell to nushell feat: update starship's config
15 lines
402 B
Nix
15 lines
402 B
Nix
{ ... }: {
|
|
# nushell's PATH do not include nix-darwin's PATH
|
|
# this is a workaround to add nix-darwin's PATH to nushell's PATH
|
|
programs.nushell.extraConfig = ''
|
|
let-env PATH = ([
|
|
|
|
"~/.nix-profile/bin"
|
|
"/etc/profiles/per-user/admin/bin"
|
|
"/run/current-system/sw/bin"
|
|
"/nix/var/nix/profiles/default/bin"
|
|
|
|
($env.PATH | split row (char esep))
|
|
] | flatten)
|
|
'';
|
|
} |