nixos/etc-overlay: fix VM test for immutable overlay

This commit is contained in:
r-vdp 2024-10-16 17:33:44 +02:00
parent 24bf6e9cb8
commit a4f7868edf
No known key found for this signature in database

View File

@ -15,6 +15,10 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
time.timeZone = "Utc";
# The standard resolvconf service tries to write to /etc and crashes,
# which makes nixos-rebuild exit uncleanly when switching into the new generation
services.resolved.enable = true;
environment.etc = {
"mountpoint/.keep".text = "keep";
"filemount".text = "keep";