push
This commit is contained in:
18
modules/sshfs.nix
Normal file
18
modules/sshfs.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, pkgs, device, ... }:
|
||||
|
||||
{
|
||||
fileSystems."/mnt/box" = {
|
||||
device = "bug@box.bug.tools:/";
|
||||
fsType = "fuse.sshfs";
|
||||
options = [
|
||||
"identityfile=/home/bug/.ssh/id_ed25519"
|
||||
"idmap=user"
|
||||
"x-systemd.automount"
|
||||
"allow_other"
|
||||
"user"
|
||||
"_netdev"
|
||||
];
|
||||
};
|
||||
|
||||
boot.supportedFilesystems."fuse.sshfs" = true;
|
||||
}
|
||||
Reference in New Issue
Block a user