在 nix-darwin 的配置文件(例如你的configuration.nix
)中添加:
programs.fish.enable = true;
environment.shells = [ pkgs.bashInteractive pkgs.zsh pkgs.fish ];
users.users.<name> = {
name = "<name>";
home = "/Users/<name>";
shell = pkgs.fish;
};
在 nix-darwin 的配置文件(例如你的configuration.nix
)中添加:
programs.fish.enable = true;
environment.shells = [ pkgs.bashInteractive pkgs.zsh pkgs.fish ];
users.users.<name> = {
name = "<name>";
home = "/Users/<name>";
shell = pkgs.fish;
};