mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 12:09:46 +01:00
22 lines
412 B
Nix
22 lines
412 B
Nix
|
{
|
||
|
config = {
|
||
|
programs.sftpman = {
|
||
|
enable = true;
|
||
|
|
||
|
mounts = {
|
||
|
mount1 = {
|
||
|
host = "host1.example.com";
|
||
|
mountPoint = "/path/to/somewhere";
|
||
|
user = "root";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
test.stubs.sftpman = { };
|
||
|
|
||
|
test.asserts.assertions.expected = [''
|
||
|
sftpman mounts using authentication type "publickey" but missing 'sshKey': mount1
|
||
|
''];
|
||
|
};
|
||
|
}
|