Skip to content

Commit

Permalink
netvm: do not restart microvm when changed
Browse files Browse the repository at this point in the history
This allows nixos-rebuild --fast switch remotely without major issues.

Signed-off-by: Humaid Alqasimi <humaid.alqassimi@tii.ae>
  • Loading branch information
humaidq-tii authored and brianmcgillion committed Jun 18, 2024
1 parent 64010d1 commit 77a309b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/microvm/virtualization/microvm/netvm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ in {
config = lib.mkIf cfg.enable {
microvm.vms."${vmName}" = {
autostart = true;
restartIfChanged = false;
config =
netvmBaseConfiguration
// {
Expand Down

0 comments on commit 77a309b

Please sign in to comment.