diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/sshfs-owo.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/sshfs-owo.nix b/modules/sshfs-owo.nix new file mode 100644 index 0000000..7014751 --- /dev/null +++ b/modules/sshfs-owo.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: + +{ + fileSystems."/data" = { + device = "compromyse@owo.compromyse.xyz:data"; + fsType = "sshfs"; + options = [ + "nodev" + "noatime" + "allow_other" + "IdentityFile=/home/compromyse/.ssh/id_rsa" + ]; + }; +} |