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:
parent
762b69f2ff
commit
e70b42bf61
3 changed files with 94 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue