Tweak openvpn

This commit is contained in:
Martin Potier 2017-06-17 18:13:47 +02:00
parent 26ff149ca7
commit fc39b3d258

View file

@ -33,15 +33,16 @@
lemonbar lemonbar
git git
(pkgs.lib.mkOverride 10 st) # patched, see at the end of this file (pkgs.lib.mkOverride 10 st) # patched, see at the end of this file
gnumeric
mpv mpv
nethogs nethogs
optipng optipng
pavucontrol pavucontrol
qutebrowser qutebrowser
stow stow
unzip
wget wget
zathura zathura
gnumeric
]; ];
}; };
@ -71,6 +72,7 @@
}; };
networking = { networking = {
firewall.enable = true;
hostName = "era"; hostName = "era";
extraHosts = '' extraHosts = ''
192.168.1.1 router 192.168.1.1 router
@ -223,8 +225,9 @@
startWhenNeeded = true; startWhenNeeded = true;
}; };
openvpn.servers.client = { openvpn.servers.era = {
autoStart = false; autoStart = false;
updateResolvConf = true;
config = builtins.readFile ./era.ovpn; # Pas top ._. config = builtins.readFile ./era.ovpn; # Pas top ._.
}; };
@ -320,7 +323,9 @@
} }
]; ];
}; };
}) ]; cups-filters = super.callPackage /home/eeva/pkgs/cups-filters {};
})
];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;