mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: added wireguard
This commit is contained in:
parent
a635237125
commit
a7ed1629e8
6 changed files with 105 additions and 5 deletions
18
modules/config/instances/config/wireGuard.nix
Normal file
18
modules/config/instances/config/wireGuard.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ instancesFunctions }:
|
||||
let
|
||||
inherit (instancesFunctions)
|
||||
sopsPath
|
||||
;
|
||||
|
||||
wireGuardLabel = "WireGuard";
|
||||
wireGuardName = "wireguard";
|
||||
in
|
||||
{
|
||||
label = wireGuardLabel;
|
||||
name = wireGuardName;
|
||||
sops = {
|
||||
path0 = "${sopsPath}/${wireGuardName}";
|
||||
};
|
||||
ports = {
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue