nixos/stage-2-init: Re-add creation of /etc

This commit is contained in:
Janne Heß 2022-04-03 18:22:54 +01:00
parent 4e9f1e537e
commit 56b4653904
No known key found for this signature in database
GPG key ID: 69165158F05265DF
2 changed files with 5 additions and 1 deletions

View file

@ -89,6 +89,11 @@ else
fi
# Required by the activation script
install -m 0755 -d /etc /etc/nixos
install -m 01777 -d /tmp
# Run the script that performs all configuration activation that does
# not have to be done at boot time.
echo "running activation script..."

View file

@ -102,7 +102,6 @@ in
];
systemd.tmpfiles.rules = [
"d /etc/nixos 0755 root root - -"
"d /nix/var 0755 root root - -"
"L+ /nix/var/nix/gcroots/booted-system 0755 root root - /run/booted-system"
"d /run/lock 0755 root root - -"