From 95336a2c370cbb323aed68a5f976f5b7db901e51 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Tue, 27 Aug 2024 23:01:36 +0200 Subject: [PATCH] Fix ~/.ssh permisions --- home/features/cli/ssh.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/features/cli/ssh.nix b/home/features/cli/ssh.nix index 8acaf86..2b86376 100644 --- a/home/features/cli/ssh.nix +++ b/home/features/cli/ssh.nix @@ -8,8 +8,8 @@ ssh = "${config.satellite.persistence.at.state.home}/ssh/.ssh"; in [ - "d ${ssh}/ssh/.ssh" - "e ${ssh}/ssh/.ssh/id_rsa 0700" - "e ${ssh}/id_ed25519 0700" + "d ${ssh}/ssh/.ssh ${config.home.username} users 0755" + "e ${ssh}/ssh/.ssh/id_rsa ${config.home.username} users 0700" + "e ${ssh}/id_ed25519 ${config.home.username} users 0700" ]; }