From 24bc178804e9dbef22cecc9b09fd1b9af1b8d15c Mon Sep 17 00:00:00 2001 From: Tristan Druyen Date: Wed, 24 Jan 2024 13:24:49 +0100 Subject: [PATCH] Add sshfs mount of media_v2 --- systems/nixos-pulse/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/systems/nixos-pulse/default.nix b/systems/nixos-pulse/default.nix index 8e3c5f5..c1933f1 100644 --- a/systems/nixos-pulse/default.nix +++ b/systems/nixos-pulse/default.nix @@ -125,7 +125,21 @@ fsType = "cifs"; options = [ mount_opts ]; }; + "/mnt/media_v2" = { + device = "root@23.88.68.113:/media_v2"; + fsType = "sshfs"; + options = [ + automount_opts + perm_opts + "allow_other" + "_netdev" + "reconnect" + "ServerAliveInterval=15" + "IdentityFile=/var/secrets/id_ed25519" + ]; + }; }; + system.fsPackages = [ pkgs.sshfs ]; systemd = { services = {