diff --git a/hosts/nixos/common/users/pilot.nix b/hosts/nixos/common/users/pilot.nix index 6d8dcd6..a863728 100644 --- a/hosts/nixos/common/users/pilot.nix +++ b/hosts/nixos/common/users/pilot.nix @@ -58,12 +58,13 @@ systemd.tmpfiles.rules = let user = config.users.users.pilot; - ssh = "/persist/state/${user.home}/ssh/.ssh"; + root = "/persist/state/${user.home}/ssh"; in [ - "d ${ssh} 0755 ${user.name} ${user.group}" - "e ${ssh}/id_rsa 0700 ${user.name} ${user.group}" - "e ${ssh}/id_ed25519 0700 ${user.name} ${user.group}" + "d ${root} 0755 ${user.name} ${user.group}" + "d ${root}/.ssh 0755 ${user.name} ${user.group}" + "e ${root}/.ssh/id_rsa 0700 ${user.name} ${user.group}" + "e ${root}/.ssh/id_ed25519 0700 ${user.name} ${user.group}" ]; # }}} }