Merge remote-tracking branch 'origin/nixos' into nixos

nixos
Moritz Böhme 2022-03-07 12:10:41 +01:00
commit dfc7961573
No known key found for this signature in database
GPG Key ID: 213820E2795F5CF5
5 changed files with 17 additions and 0 deletions

View File

@ -18,5 +18,9 @@
file = ../../secrets/spotifyd.age; file = ../../secrets/spotifyd.age;
owner = "1000"; owner = "1000";
}; };
homeVPN = {
file = ../../secrets/home-vpn.age;
owner = "1000";
};
}; };
} }

View File

@ -9,6 +9,7 @@
./jupyter.nix ./jupyter.nix
./kdeconnect.nix ./kdeconnect.nix
./keyring.nix ./keyring.nix
./openvpn.nix
./picom.nix ./picom.nix
]; ];

View File

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
{
services.openvpn.servers = {
homeVPN = {
config = "config /run/agenix/homeVPN ";
autoStart = false;
updateResolvConf = true;
};
};
}

BIN
secrets/home-vpn.age Normal file

Binary file not shown.

View File

@ -16,4 +16,5 @@ in {
"spotifyd.age".publicKeys = users ++ hosts; "spotifyd.age".publicKeys = users ++ hosts;
"email-desktop.age".publicKeys = users ++ hosts; "email-desktop.age".publicKeys = users ++ hosts;
"email-laptop.age".publicKeys = users ++ hosts; "email-laptop.age".publicKeys = users ++ hosts;
"home-vpn.age".publicKeys = users ++ hosts;
} }