mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixos/etc-overlay: fix VM test for immutable overlay
This commit is contained in:
parent
24bf6e9cb8
commit
a4f7868edf
1 changed files with 4 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue