diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-02-05 21:12:17 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-02-05 22:12:18 +0100 |
commit | cc0caac098b56b67300778c8a1738f8a16e08442 (patch) | |
tree | 8ea3c185e4948a28090a41eb493d0268b725672b /nixos/modules/config | |
parent | f9e64dbe764745f05ccf5ac458e804044196f571 (diff) | |
download | nixlib-cc0caac098b56b67300778c8a1738f8a16e08442.tar nixlib-cc0caac098b56b67300778c8a1738f8a16e08442.tar.gz nixlib-cc0caac098b56b67300778c8a1738f8a16e08442.tar.bz2 nixlib-cc0caac098b56b67300778c8a1738f8a16e08442.tar.lz nixlib-cc0caac098b56b67300778c8a1738f8a16e08442.tar.xz nixlib-cc0caac098b56b67300778c8a1738f8a16e08442.tar.zst nixlib-cc0caac098b56b67300778c8a1738f8a16e08442.zip |
Move creation of /root to the activation script
...so it appears in a new installation before rebooting the system.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index c1102d558101..92670ba31f50 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -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 |