From a686051f7046fd7b495cd1ccc251ee044a625c0e Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Tue, 2 Feb 2021 08:37:36 +0100 Subject: [PATCH] Enable mutableUsers to preserve password changes --- configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configuration.nix b/configuration.nix index ac975fc..9db378a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,6 +16,8 @@ services.openssh.enable = true; networking.firewall.rejectPackets = true; + # Preserve password changes + users.mutableUsers = true; users.users = { root.openssh.authorizedKeys.keyFiles = [ ./linus.pub ]; linus = {