I have set up home-manager like this inside my nix-darwin.
Every thing is working perfectly except for the shellAliases part.
# Home Manager configurations
imports = [ <home-manager/nix-darwin> ];
users.users.<user> = {
name = "<user>";
home = "/Users/<user>";
};
home-manager.users.<user> = { pkgs, ... }: {
home = {
shellAliases = {
asl = "aws sso login";
};
packages = with pkgs; [
btop
direnv
gh
neovim
nixfmt
tree
zoxide
bat
lazygit
delta
ripgrep
cargo
speedtest-cli
];
stateVersion = "22.05";
};
};
The packages are working, but the alias is not.
What could be the issue?