- Follow the SSH README
- Run
home-manager switch ~/config
(afterwards, usehms
)
- Run
sudo nixos-rebuild switch --flake ~/config
(afterwards, usenos
)
- Don't forget to add the shell as a valid login shell by modifying
/etc/shells
to add/home/$USER/.nix-profile/bin/fish
, where $USER should be replaced with your user. After performing this,chsh -s /home/$USER/.nix-profile/bin/fish $USER
should be executed to change the shell for the user.
- First, update the lockfile with
nix flake update ~/config
- Run
nos
- Run
hms