mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 14:06:30 +00:00
Add vnstat
This commit is contained in:
parent
11f6615de1
commit
520a930c60
2 changed files with 9 additions and 6 deletions
|
@ -39,11 +39,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1685004253,
|
"lastModified": 1685865905,
|
||||||
"narHash": "sha256-AbVL1nN/TDicUQ5wXZ8xdLERxz/eJr7+o8lqkIOVuaE=",
|
"narHash": "sha256-XJZ/o17eOd2sEsGif+/MQBnfa2DKmndWgJyc7CWajFc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3e01645c40b92d29f3ae76344a6d654986a91a91",
|
"rev": "e7603eba51f2c7820c0a182c6bbb351181caa8e7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -62,11 +62,11 @@
|
||||||
},
|
},
|
||||||
"unstable": {
|
"unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1684935479,
|
"lastModified": 1685931219,
|
||||||
"narHash": "sha256-6QMMsXMr2nhmOPHdti2j3KRHt+bai2zw+LJfdCl97Mk=",
|
"narHash": "sha256-8EWeOZ6LKQfgAjB/USffUSELPRjw88A+xTcXnOUvO5M=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f91ee3065de91a3531329a674a45ddcb3467a650",
|
"rev": "7409480d5c8584a1a83c422530419efe4afb0d19",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
#networking.interfaces.enp0s20f0u2u1.useDHCP = true;
|
#networking.interfaces.enp0s20f0u2u1.useDHCP = true;
|
||||||
#networking.interfaces.wlp0s20f3.useDHCP = true;
|
#networking.interfaces.wlp0s20f3.useDHCP = true;
|
||||||
|
|
||||||
|
# statistics
|
||||||
|
services.vnstat.enable = true;
|
||||||
|
|
||||||
# enable OpenVPN for connecting to the TUD network
|
# enable OpenVPN for connecting to the TUD network
|
||||||
services.openvpn.servers.tud = {
|
services.openvpn.servers.tud = {
|
||||||
config = '' config /home/felix/.config/vpn/TUD.ovpn '';
|
config = '' config /home/felix/.config/vpn/TUD.ovpn '';
|
||||||
|
|
Loading…
Reference in a new issue