Unverified Commit 56b46539 authored by Janne Heß's avatar Janne Heß
Browse files

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

parent 4e9f1e53
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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..."
+0 −1
Original line number Diff line number Diff line
@@ -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 - -"