diff --git a/hosts/nixos/common/users/pilot.nix b/hosts/nixos/common/users/pilot.nix index 58681c6..d3569d4 100644 --- a/hosts/nixos/common/users/pilot.nix +++ b/hosts/nixos/common/users/pilot.nix @@ -61,8 +61,8 @@ root = "/persist/state/${user.home}/ssh"; in [ - "d ${root} 0755 ${user.name} ${user.group}" - "d ${root}/.ssh 0755 ${user.name} ${user.group}" + "Z ${root} 0755 ${user.name} ${user.group}" + "d ${root}/.ssh 0755 ${user.name} ${user.group}" "z ${root}/.ssh/id_rsa 0700 ${user.name} ${user.group}" "z ${root}/.ssh/id_ed25519 0700 ${user.name} ${user.group}" ];