mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
ssh keys
This commit is contained in:
@@ -12,5 +12,15 @@
|
|||||||
sops.secrets."ssh/extern/private" = {
|
sops.secrets."ssh/extern/private" = {
|
||||||
path = "${config.home.homeDirectory}/.ssh/extern";
|
path = "${config.home.homeDirectory}/.ssh/extern";
|
||||||
};
|
};
|
||||||
|
programs.ssh.matchBlocks = {
|
||||||
|
"intern" = {
|
||||||
|
host = "*";
|
||||||
|
identityFile = "${config.home.homeDirectory}/.ssh/intern";
|
||||||
|
};
|
||||||
|
"extern" = {
|
||||||
|
host = "*";
|
||||||
|
identityFile = "${config.home.homeDirectory}/.ssh/extern";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user