Move helium to sops-nix
This commit is contained in:
parent
924f738618
commit
ec685a2e86
8 changed files with 161 additions and 41 deletions
|
@ -1,15 +1,22 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
custom.home_wg_suffix = "2";
|
||||
system.autoUpgrade.allowReboot = lib.mkForce false;
|
||||
|
||||
sops.secrets.priv-netflix-wg.sopsFile = ../../secrets/helium/netflix-wg.yaml;
|
||||
|
||||
networking = {
|
||||
wg-quick.interfaces = {
|
||||
wg1 = {
|
||||
autostart = false;
|
||||
address = [ "10.100.0.7/24" ];
|
||||
dns = [ "1.1.1.1" ];
|
||||
privateKeyFile = "/persist/secrets/wireguard/priv-netflix";
|
||||
privateKeyFile = config.sops.secrets.priv-netflix-wg.path;
|
||||
listenPort = 51820;
|
||||
|
||||
peers = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue