Skip to content

Home manager

Shell

To change shell when using standalone home manager on a e.g. ubuntu installation, use:

echo ~/.nix-profile/bin/zsh | sudo tee -a /etc/shells
usermod -s ~/.nix-profile/bin/zsh $user

Options

Home-manager options

Troubleshooting

If home manager crashes on 'Could not find suitable profile directory': Manually create this folder:

mkdir -p ~/.local/state/nix/profiles