From b6ce0746e140e892286b9019fbea659af33d9679 Mon Sep 17 00:00:00 2001 From: Alexander Szczepanski Date: Wed, 18 Aug 2021 22:37:19 +0200 Subject: [PATCH] added vnstat --- configs/common.nix | 1 + configs/user.nix | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/common.nix b/configs/common.nix index 9dba636..8f4b727 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -11,6 +11,7 @@ in environment.shells = with pkgs; [ bashInteractive zsh ]; services = { + vnstat.enable = true; tuptime.enable = true; vscode-server.enable = true; openssh = { diff --git a/configs/user.nix b/configs/user.nix index ca1a0fa..1d15f2e 100644 --- a/configs/user.nix +++ b/configs/user.nix @@ -43,7 +43,12 @@ bind.port = 8386; host.address = "127.0.0.1"; host.port = 8384; - } ]; + } { + bind.address = "127.0.0.1"; + bind.port = 9092; + host.address = "127.0.0.1"; + host.port = 9091; + }]; }; matchBlocks."nixos-vm" = {