28 lines
417 B
Nix
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";
|
|
};
|
|
};
|
|
}
|