Tweak openvpn

This commit is contained in:
Martin Potier 2017-06-17 18:13:47 +02:00
parent 26ff149ca7
commit fc39b3d258
1 changed files with 9 additions and 4 deletions

View File

@ -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;