Move creation of /root to the activation script
...so it appears in a new installation before rebooting the system.
This commit is contained in:
parent
f9e64dbe76
commit
cc0caac098
|
@ -533,6 +533,8 @@ in {
|
|||
-I${pkgs.perlPackages.FileSlurp}/lib/perl5/site_perl \
|
||||
-I${pkgs.perlPackages.JSON}/lib/perl5/site_perl \
|
||||
${./update-users-groups.pl} ${spec}
|
||||
|
||||
install -m 0700 -d /root
|
||||
'';
|
||||
|
||||
# for backwards compatibility
|
||||
|
|
|
@ -82,7 +82,6 @@ ln -s /proc/mounts /etc/mtab
|
|||
mkdir -m 01777 -p /tmp
|
||||
mkdir -m 0755 -p /var/{log,lib,db} /nix/var /etc/nixos/ \
|
||||
/run/lock /home /bin # for the /bin/sh symlink
|
||||
install -m 0700 -d /root
|
||||
|
||||
|
||||
# Miscellaneous boot time cleanup.
|
||||
|
|
Loading…
Reference in New Issue