Squash merge sops-nix into main
This commit is contained in:
parent
135df24a36
commit
21fc0ee318
15 changed files with 180 additions and 17 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
settings,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
|
|
@ -303,7 +304,7 @@ in
|
|||
${personal.interface} = {
|
||||
ips = [ personal.ip ];
|
||||
listenPort = personal.port;
|
||||
privateKeyFile = "/etc/wireguard/privatekey";
|
||||
privateKeyFile = config.sops.secrets."wireguard/privateKey".path;
|
||||
peers = builtins.map (r: {
|
||||
publicKey = r.publicKey;
|
||||
allowedIPs = r.allowedIPs;
|
||||
|
|
@ -313,7 +314,7 @@ in
|
|||
${kube.interface} = {
|
||||
ips = [ kube.ip ];
|
||||
listenPort = kube.port;
|
||||
privateKeyFile = "/etc/wireguard/privatekey";
|
||||
privateKeyFile = config.sops.secrets."wireguard/privateKey".path;
|
||||
peers = [ ];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue