From 2e40bf243b48d6bf62a35759c312f12d85322150 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Wed, 13 Jul 2022 14:50:03 +0300 Subject: [PATCH] Default root ssh key (empty) --- variables.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.nix b/variables.nix index 791ca5a..027d9cc 100644 --- a/variables.nix +++ b/variables.nix @@ -50,7 +50,7 @@ in resticPassword = (if jsonData ? "resticPassword" then jsonData.resticPassword else null); ssh = { enable = (if jsonData ? "ssh.enable" then jsonData.ssh.enable else true); - rootKeys = (if jsonData ? "ssh.rootKeys" then jsonData.ssh.rootKeys else [ ]); + rootKeys = (if jsonData ? "ssh.rootKeys" then jsonData.ssh.rootKeys else [ "" ]); passwordAuthentication = (if jsonData ? "ssh.passwordAuthentication" then jsonData.ssh.passwordAuthentication else true); }; users = (if jsonData ? "users" then jsonData.users else [ ]);