Enable mutableUsers to preserve password changes

This commit is contained in:
Linus Heckemann 2021-02-02 08:37:36 +01:00
parent 144f1df66a
commit a686051f70

View File

@ -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 = {