22 lines
422 B
Nix
22 lines
422 B
Nix
{...}: let
|
|
sin-address = "192.168.1.14";
|
|
in
|
|
{
|
|
boot.supportedFilesystems = [ "fuse.sshfs" ];
|
|
programs.fuse.userAllowOther = true;
|
|
|
|
fileSystems = {
|
|
"/mnt/shares/data" = {
|
|
device = "shobu@${sin-address}:/mnt/data/";
|
|
fsType = "fuse.sshfs";
|
|
options = [
|
|
"debug"
|
|
"allow_other"
|
|
"nodev"
|
|
"nosuid"
|
|
"IdentityFile=/home/n100/.ssh/id_ed25519"
|
|
];
|
|
};
|
|
};
|
|
}
|