fix
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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"; })
|
||||
|
||||
@@ -42,6 +42,10 @@ let
|
||||
type = types.str;
|
||||
default = "";
|
||||
};
|
||||
pubkey = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
};
|
||||
server = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
|
||||
Reference in New Issue
Block a user