config.nix/home/modules/connectivity/mounts/sshfs.nix
2026-03-30 22:03:03 +02:00

28 lines
417 B
Nix

{
config,
lib,
pkgs,
...
}:
{
options = {
};
config = {
programs.sftpman = {
enable = true;
mounts = {
marty-server = {
host = "marty-server";
user = "marty";
mountOptions = [
"/mnt/Server"
];
mountPoint = "/";
};
};
package = pkgs.sshfs;
defaultSshKey = "~/.ssh/id_ed25519";
};
};
}