mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-03 07:31:03 +01:00
19 lines
349 B
Nix
19 lines
349 B
Nix
{
|
|
programs.sftpman = {
|
|
enable = true;
|
|
|
|
mounts = {
|
|
mount1 = {
|
|
host = "host1.example.com";
|
|
mountPoint = "/path/to/somewhere";
|
|
user = "root";
|
|
};
|
|
};
|
|
};
|
|
|
|
test.asserts.assertions.expected = [
|
|
''
|
|
sftpman mounts using authentication type "publickey" but missing 'sshKey': mount1
|
|
''
|
|
];
|
|
}
|