Install NixOS on Kimsufi: Difference between revisions
imported>Joscherrer m Create setupuser before the nixbld user so it doesn't take the uid 30001 |
|||
(One intermediate revision by one other user not shown) | |||
Line 63: | Line 63: | ||
# The default channel is `nixpkgs-unstable`, let's switch to a stable NixOS channel | # The default channel is `nixpkgs-unstable`, let's switch to a stable NixOS channel | ||
nix-channel --add https://nixos.org/channels/nixos- | nix-channel --add https://nixos.org/channels/nixos-22.11 nixpkgs | ||
nix-channel --update | nix-channel --update | ||
Line 117: | Line 117: | ||
You will probably encounter an error when you connect because the SSH host key will have changed. You can fix this with ssh-keygen -R 192.0.2.1 (replacing the IP with the one for your machine), and then try again. Hopefully you’ve now got a new NixOS machine up and running and ready to do whatever you need it to do. | You will probably encounter an error when you connect because the SSH host key will have changed. You can fix this with ssh-keygen -R 192.0.2.1 (replacing the IP with the one for your machine), and then try again. Hopefully you’ve now got a new NixOS machine up and running and ready to do whatever you need it to do. | ||
[[Category:Deployment]] |