• 0 Posts
  • 49 Comments
Joined 3 years ago
cake
Cake day: June 30th, 2023

help-circle
  • You can just do it in parts though?

    If you have a flake.lock you can update it, start rebuilding (nixos-rebuild boot) and if it’s not done before shutdown you can just run that same command after the next boot and it will continue where it left of (minus a few packages it has to rebuild again).

    My pc always updates to the latest lock whenever it is running, when I update my Nixos repository my pc will eventually follow without doing anything. The only thing to watch out for is changed configurations or build errors but for that you just have to check the logs every once in a while or set up some way to be notified of the failing rebuild command.



















  • I once redid the whole bootloader remotely.

    I had a remote server that wasn’t luks encrypted because I didn’t do that some 3 years ago when setting it up.

    So naturally I did the sane thing and kexec a live environment with ssh and a wireguard client, did an in-place encryption of the software raid disks, set up remote unlocking with VPN and rebooted.

    And I still can’t believe that it actually reconnected after that.