mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 12:54:38 -05:00
feat: wireguard test
This commit is contained in:
parent
dcee9dd99b
commit
737a72821d
1 changed files with 15 additions and 12 deletions
|
@ -40,15 +40,17 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
sops.secrets =
|
||||
sops =
|
||||
let
|
||||
sopsPath = secret: {
|
||||
path = "${service.sops.path0}/${service.name}-${secret}";
|
||||
path = "${service.sops.path0}/${service.name}-${secret}-pass";
|
||||
owner = "root";
|
||||
mode = "600";
|
||||
};
|
||||
in
|
||||
(map
|
||||
{
|
||||
secrets = builtins.listToAttrs (
|
||||
map
|
||||
(secret: {
|
||||
name = "${service.name}-${secret}";
|
||||
value = sopsPath secret;
|
||||
|
@ -58,6 +60,7 @@ in
|
|||
"public"
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_forward" = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue