fix mnt/media fs
This commit is contained in:
parent
61039fb938
commit
4c26720400
|
@ -43,8 +43,15 @@
|
|||
|
||||
fileSystems."/mnt/media" = {
|
||||
device = "xenia@10.100.100.254:/media";
|
||||
fsType = "fuse.sshfs";
|
||||
options = [ "IdentityFile=/home/xenia/.ssh/id_ed25519" "allow_other" "uid=1002" "gid=1002" "x-systemd.automount" "noauto" ];
|
||||
fsType = "sshfs";
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user