Open mkg20001 opened 4 years ago
It looks like pam_mkhomedir just runs when the user logs in and no home directory exists. To use this you would need to set users.users.<user>.createHome = false
.
Did and it did not work
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should copy the files from the skelDirectory into the new $HOME if the $HOME didn't already exist
Additional context https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/config/update-users-groups.pl#L214-L218
It doesn't do that
Metadata
"x86_64-linux"
Linux 4.19.91, NixOS, 20.03pre-git (Markhor)
yes
yes
nix-env (Nix) 2.3.1
"nixpkgs-20.03pre205792.fb1bc1b891f"
"nixos-20.03pre206632.b0bbacb5213"
/home/maciej/.nix-defexpr/channels/nixpkgs
Maintainer information: