diff --git a/nixos/modules/borgbackup.nix b/nixos/modules/borgbackup.nix index aa5b60d..0f5db49 100644 --- a/nixos/modules/borgbackup.nix +++ b/nixos/modules/borgbackup.nix @@ -132,23 +132,10 @@ in { }; }; environment.persistence.${config.impermanence.name} = { - /* - users.fsaccount.directories = [ - { - directory = ".ssh"; # SSH Key with access to FS Account and known_hosts - mode = "u=rwx,g=,o="; - } - ]; - }; - */ - users.fsaccount.files = [ + users.fsaccount.directories = [ { - file = ".ssh/known_hosts"; - parentDirectory = { - mode = "u=rwx,g=,o="; - user = "fsaccount"; - group = "users"; - }; + directory = ".ssh"; # SSH Key with access to FS Account and known_hosts + mode = "u=rwx,g=,o="; } ]; };