From 130b65390fbd0da42ed237afa92a72a5ca0b6cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 21 May 2023 15:37:42 +0200 Subject: [PATCH] c3d2: don't write password in plain text --- modules/c3d2.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/c3d2.nix b/modules/c3d2.nix index 641c1dee..d59ea95a 100644 --- a/modules/c3d2.nix +++ b/modules/c3d2.nix @@ -99,7 +99,8 @@ in "video" "wheel" ]; - password = "k-otk-ot"; + # get by running mkpasswd logged in as the user + hashedPassword = "$y$j9T$AoK/PRviZS4BDJ6jX/Qt6/$FDM/JfANEU7H0RAIuN0DL2hjYujVAVDdI0jgN5wGwB5"; openssh.authorizedKeys.keys = adminKeys; };