nixops icon indicating copy to clipboard operation
nixops copied to clipboard

Bootloader initrd image not updating

Open PAI5REECHO opened this issue 3 years ago • 2 comments

I updated users.users.root.openssh.authorizedKeys.keys for one of my servers. boot.initrd.network.ssh.authorizedKeys should default to the aforementioned config value, but after a nixops deploy the bootloader image isn't updated with the new authorized keys. See: https://discourse.nixos.org/t/nixops-how-to-deploy-with-boot-loader-updated/19385

PAI5REECHO avatar Aug 02 '22 23:08 PAI5REECHO

Without diving into NixOps specifics, this may also be a problem with nixos-rebuild switch.

roberth avatar Aug 05 '22 13:08 roberth

nixos-rebuild offers the option --install-bootloader which always works to apply initrd changes

PAI5REECHO avatar Aug 08 '22 00:08 PAI5REECHO