🧹 move age secrets to usage

This commit is contained in:
Moritz Böhme 2022-03-23 12:49:55 +01:00
parent 97ec540786
commit 523864e984
No known key found for this signature in database
GPG key ID: 213820E2795F5CF5
7 changed files with 14 additions and 34 deletions

View file

@ -1,6 +1,16 @@
{ config, lib, pkgs, ... }:
{
age.secrets = {
homeVPN = {
file = ../../secrets/home-vpn.age;
owner = "1000";
};
homeVPNPassword = {
file = ../../secrets/home-vpn-password.age;
owner = "1000";
};
};
services.openvpn.servers = {
homeVPN = {
config = "config /run/agenix/homeVPN ";