0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

systemd-initrd: Add users and groups with static IDs.

This commit is contained in:
Will Fancher 2022-07-22 01:32:22 -04:00
parent 762b69f2ff
commit e70b42bf61
3 changed files with 94 additions and 1 deletions

View file

@ -388,7 +388,6 @@ in {
"/etc/modules-load.d/nixos.conf".text = concatStringsSep "\n" config.boot.initrd.kernelModules;
"/etc/passwd".source = "${pkgs.fakeNss}/etc/passwd";
# We can use either ! or * to lock the root account in the
# console, but some software like OpenSSH won't even allow you
# to log in with an SSH key if you use ! so we use * instead