ssh: matchblocks reuse

This commit is contained in:
Zynh Ludwig 2025-01-02 20:12:25 -08:00
parent 77a1d06fe6
commit baea08045d

View file

@ -45,11 +45,9 @@ in
user = "ravenshade"; user = "ravenshade";
identityFile = keyPathIfSops "msiserver"; identityFile = keyPathIfSops "msiserver";
}; };
"permafrost.local" = lib.mkIf cfg.homeNetwork { "permafrost.local" = lib.mkIf cfg.homeNetwork (permafrost // {
hostname = "permafrost"; hostname = "permafrost";
user = "ravenshade"; });
identityFile = keyPathIfSops "msiserver";
};
caveserver = { caveserver = {
identityFile = keyPathIfSops "caveserver"; identityFile = keyPathIfSops "caveserver";
}; };