From e2155abdb95c9ca333681f708e3eb433078a098c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 8 Nov 2021 20:45:39 +0100 Subject: ... --- accounts/gkleen@vidhar.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'accounts/gkleen@vidhar.nix') diff --git a/accounts/gkleen@vidhar.nix b/accounts/gkleen@vidhar.nix index dd19e41b..316224c4 100644 --- a/accounts/gkleen@vidhar.nix +++ b/accounts/gkleen@vidhar.nix @@ -4,11 +4,11 @@ ]; config = { - users.users.${userName}.uid = 1000; - home-manager.users.${userName} = { - home.file.".ssh/authorized_keys".text = '' - command="${pkgs.unison}/bin/unison -server",no-port-forwarding,no-X11-forwarding,no-pty,no-agent-forwarding,no-user-rc ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA4izEz5pEjJqFLeJewHCoqtskqA+olKZNEP1yZWK7Ui gkleen@sif - ''; + users.users.${userName} = { + uid = 1000; + openssh.authorizedKeys.keys = [ + "command="${pkgs.unison}/bin/unison -server",no-port-forwarding,no-X11-forwarding,no-pty,no-agent-forwarding,no-user-rc ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA4izEz5pEjJqFLeJewHCoqtskqA+olKZNEP1yZWK7Ui gkleen@sif" + ]; }; }; } -- cgit v1.2.3