From c54f1f42448415e91a22c9a8956363fa16d6297b Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 12 Dec 2023 21:09:50 +0900 Subject: [PATCH] test --- nixos/users/root/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/users/root/default.nix b/nixos/users/root/default.nix index dc56d937..d0c10c04 100644 --- a/nixos/users/root/default.nix +++ b/nixos/users/root/default.nix @@ -1,5 +1,6 @@ { config, desktop, lib, pkgs, ... }: { - users.users.root.openssh.authorizedKeys.keyFiles = [ - ../../../keys/ssh/keys.txt -]; + # Define a user account. + users.users.root = { + openssh.authorizedKeys.keyFiles = [ ../../../keys/ssh/keys.txt ]; + }; } \ No newline at end of file