From 2d4e7e89a13c3778d4a91a694d848268b7faac99 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Tue, 23 Jan 2024 16:37:26 +0400 Subject: [PATCH] configure NixOS to allow configuration without password nor ssh key --- users.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users.nix b/users.nix index 4d25f02..91fbeab 100644 --- a/users.nix +++ b/users.nix @@ -3,8 +3,9 @@ let cfg = config.selfprivacy; in { - users.mutableUsers = false; users = { + mutableUsers = false; + allowNoPasswordLogin = true; users = { "${cfg.username}" = { isNormalUser = true;