diff --git a/hosts/winter/filesystem.nix b/hosts/winter/filesystem.nix index b7c241a..519698b 100644 --- a/hosts/winter/filesystem.nix +++ b/hosts/winter/filesystem.nix @@ -31,5 +31,17 @@ in # fsType = "nfs"; # options = [ "defaults" ]; # }; + "/mnt/apricot" = { + device = "rin@apricot:/"; + fsType = "fuse.sshfs"; + options = [ + "noauto" + "x-systemd.automount" + "_netdev" + "IdentityFile=/home/rin/.ssh/id_rsa" + "allow_other" + "reconnect" + ]; + }; }; } diff --git a/modules/system/packages.nix b/modules/system/packages.nix index b49b24c..c30ae3f 100644 --- a/modules/system/packages.nix +++ b/modules/system/packages.nix @@ -10,6 +10,7 @@ neovim nfs-utils ntfs3g + sshfs rsync wget ] ++ lib.optionals enableGUI [