From fc39b3d258425b3f69d9b92ea354111ade4e9a48 Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Sat, 17 Jun 2017 18:13:47 +0200 Subject: [PATCH] Tweak openvpn --- configuration.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 37fa422..7b23580 100644 --- a/configuration.nix +++ b/configuration.nix @@ -33,15 +33,16 @@ lemonbar git (pkgs.lib.mkOverride 10 st) # patched, see at the end of this file + gnumeric mpv nethogs optipng pavucontrol qutebrowser stow + unzip wget zathura - gnumeric ]; }; @@ -71,6 +72,7 @@ }; networking = { + firewall.enable = true; hostName = "era"; extraHosts = '' 192.168.1.1 router @@ -223,8 +225,9 @@ startWhenNeeded = true; }; - openvpn.servers.client = { + openvpn.servers.era = { autoStart = false; + updateResolvConf = true; config = builtins.readFile ./era.ovpn; # Pas top ._. }; @@ -319,8 +322,10 @@ sha256 = "b7b25ba01b7ae87ec201ebbb1bf82742d5979788ecc6773a356eebe7d90a9703"; } ]; - }; - }) ]; + }; + cups-filters = super.callPackage /home/eeva/pkgs/cups-filters {}; + }) + ]; nixpkgs.config.allowUnfree = true;