diff options
author | Karel Kočí <cynerd@email.cz> | 2024-05-06 12:41:18 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-05-06 12:41:18 +0200 |
commit | 7fe4a329bf6cf10b8522bd6fde5cadecb38c868e (patch) | |
tree | 3fac820e96b3b78c7bd0ea85cc11ef3e95116800 /nixos/configurations/lipwig.nix | |
parent | 3f3344716b98ff8300e57d16885be9f6e0eec51e (diff) | |
download | nixos-personal-7fe4a329bf6cf10b8522bd6fde5cadecb38c868e.tar.gz nixos-personal-7fe4a329bf6cf10b8522bd6fde5cadecb38c868e.tar.bz2 nixos-personal-7fe4a329bf6cf10b8522bd6fde5cadecb38c868e.zip |
lipwig: access spt nas over SSH
Diffstat (limited to 'nixos/configurations/lipwig.nix')
-rw-r--r-- | nixos/configurations/lipwig.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nixos/configurations/lipwig.nix b/nixos/configurations/lipwig.nix index 090e8f5..dd183b3 100644 --- a/nixos/configurations/lipwig.nix +++ b/nixos/configurations/lipwig.nix @@ -35,6 +35,21 @@ fsType = "fuse.bindfs"; options = ["map=syncthing/nextcloud:@syncthing/@nextcloud"]; }; + "/nas/spt" = { + device = "nas@omnia.spt:/data/nas"; + fsType = "fuse.sshfs"; + options = [ + "noauto" + "x-systemd.automount" + "_netdev" + "reconnect" + "identityfile=/run/secrets/nas.ssh.priv" + "allow_other" + "idmap=user" + "uid=nextcloud" + "gid=nextcloud" + ]; + }; }; networking = { |