fix mnt/media fs

This commit is contained in:
xenia 2025-06-14 21:21:30 +02:00
parent 61039fb938
commit 4c26720400

View File

@ -43,8 +43,15 @@
fileSystems."/mnt/media" = { fileSystems."/mnt/media" = {
device = "xenia@10.100.100.254:/media"; device = "xenia@10.100.100.254:/media";
fsType = "fuse.sshfs"; fsType = "sshfs";
options = [ "IdentityFile=/home/xenia/.ssh/id_ed25519" "allow_other" "uid=1002" "gid=1002" "x-systemd.automount" "noauto" ]; options = [
"IdentityFile=/home/xenia/.ssh/id_ed25519"
"StrictHostKeyChecking=no" # if the host is not in the known_hosts file, mount will silently mount
"allow_other" "uid=1000" "gid=1000"
"x-systemd.automount"
"noauto"
"reconnect"
];
}; };
boot.supportedFilesystems."fuse.sshfs" = true; boot.supportedFilesystems."fuse.sshfs" = true;