This commit is contained in:
4DBug
2026-02-11 20:24:05 -06:00
parent 6b7cbc4dbf
commit 90f94f7888
7 changed files with 41 additions and 15 deletions

18
modules/sshfs.nix Normal file
View 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;
}