This commit is contained in:
soraefir
2026-05-02 00:50:56 +02:00
parent 25b2e3e05f
commit 1ceb440026
9 changed files with 33 additions and 25 deletions

View File

@@ -28,12 +28,7 @@ in {
group = config.users.users.${config.syscfg.defaultUser}.group;
};
"${config.syscfg.hostname}_wg_priv" = { };
"${config.syscfg.hostname}_wg_pub" = { };
}
(lib.genAttrs
(map (peer: "${peer}_wg_pub") config.syscfg.net.wg.server.peers)
(_: { mode = "0444"; })
)
(lib.genAttrs
(map (peer: "${peer}_ssh_pub") ["iriy" "avalon" "valinor"])
(_: { mode = "0444"; })