aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/binky.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-07-19 13:33:48 +0200
committerKarel Kočí <cynerd@email.cz>2022-07-19 13:33:48 +0200
commit027bcf9b43546063e62578858eee50ac278334f3 (patch)
tree1ed5e40f784941d10afc7c984a6403c2107e5cec /nixos/machine/binky.nix
parent2742cf5f2cb278540740204205dbcc49bdc91b55 (diff)
downloadnixos-personal-027bcf9b43546063e62578858eee50ac278334f3.tar.gz
nixos-personal-027bcf9b43546063e62578858eee50ac278334f3.tar.bz2
nixos-personal-027bcf9b43546063e62578858eee50ac278334f3.zip
nixos: rework openvpn
Diffstat (limited to 'nixos/machine/binky.nix')
-rw-r--r--nixos/machine/binky.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/nixos/machine/binky.nix b/nixos/machine/binky.nix
index c7e319a..7be8017 100644
--- a/nixos/machine/binky.nix
+++ b/nixos/machine/binky.nix
@@ -13,6 +13,10 @@ with lib;
wifiClient = true;
develop = true;
gaming = true;
+ openvpn = {
+ oldpersonal = true;
+ elektroline = true;
+ };
};
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usb_storage" "sd_mod"];
@@ -57,13 +61,6 @@ with lib;
dataDir = "/home/cynerd";
configDir = "/home/cynerd/.config/syncthing";
};
- services.openvpn.servers.oldpersonal = {
- config = "config /run/secrets/old.ovpn";
- };
- services.openvpn.servers.elektroline = {
- config = "config /run/secrets/elektroline.ovpn";
- };
-
};