Enable mutableUsers to preserve password changes
This commit is contained in:
parent
144f1df66a
commit
a686051f70
@ -16,6 +16,8 @@
|
|||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
networking.firewall.rejectPackets = true;
|
networking.firewall.rejectPackets = true;
|
||||||
|
|
||||||
|
# Preserve password changes
|
||||||
|
users.mutableUsers = true;
|
||||||
users.users = {
|
users.users = {
|
||||||
root.openssh.authorizedKeys.keyFiles = [ ./linus.pub ];
|
root.openssh.authorizedKeys.keyFiles = [ ./linus.pub ];
|
||||||
linus = {
|
linus = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user