mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
ssh config
This commit is contained in:
@@ -16,14 +16,13 @@
|
|||||||
};
|
};
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"intern" = {
|
"*" = {
|
||||||
host = "*";
|
identityFile = [
|
||||||
identityFile = "${config.home.homeDirectory}/.ssh/intern";
|
"${config.home.homeDirectory}/.ssh/intern"
|
||||||
};
|
"${config.home.homeDirectory}/.ssh/extern"
|
||||||
"extern" = {
|
];
|
||||||
host = "*";
|
|
||||||
identityFile = "${config.home.homeDirectory}/.ssh/extern";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user