1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/nixos
Lin Jian 0c70035f24
nixos/lib: add /home to pathsNeededForBoot
Before this patch, if we:

  1. add a new user in the config,
  2. mount /home seperately,
  3. not set neededForBoot for /home,
  4. and run `nixos-rebuild boot`,

the newly added user's home will not be created after a reboot. This
is because when nixos/modules/config/update-users-groups.pl is running
in stage 2 to setup users, /home is not mounted.

This patch fixes this issue.
2022-12-01 00:49:46 +08:00
..
doc Merge pull request #202918 from SuperSandro2000/rleease-notes-191713 2022-11-30 00:36:03 +01:00
lib nixos/lib: add /home to pathsNeededForBoot 2022-12-01 00:49:46 +08:00
maintainers nixos/ec2: remove paravirtualization-specific code 2022-11-23 17:18:18 +01:00
modules nixos/netbox: fix ldap configuration 2022-11-30 10:10:28 +01:00
tests Merge pull request #203452 from robryk/restic 2022-11-29 11:35:39 -05:00
COPYING
default.nix
README
release-combined.nix Merge pull request #197254 from Atemu/fstab-escape-options 2022-11-19 18:08:40 +01:00
release-small.nix nixos/release: add acme to tested set 2022-10-25 07:22:27 +10:00
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.