Merge remote-tracking branch 'origin/nixos' into nixos
commit
dfc7961573
|
@ -18,5 +18,9 @@
|
||||||
file = ../../secrets/spotifyd.age;
|
file = ../../secrets/spotifyd.age;
|
||||||
owner = "1000";
|
owner = "1000";
|
||||||
};
|
};
|
||||||
|
homeVPN = {
|
||||||
|
file = ../../secrets/home-vpn.age;
|
||||||
|
owner = "1000";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
./jupyter.nix
|
./jupyter.nix
|
||||||
./kdeconnect.nix
|
./kdeconnect.nix
|
||||||
./keyring.nix
|
./keyring.nix
|
||||||
|
./openvpn.nix
|
||||||
./picom.nix
|
./picom.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.openvpn.servers = {
|
||||||
|
homeVPN = {
|
||||||
|
config = "config /run/agenix/homeVPN ";
|
||||||
|
autoStart = false;
|
||||||
|
updateResolvConf = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Binary file not shown.
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue