From e06f1d51b9d3c8506ed9f68109602a64b715e86f Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 27 Nov 2022 15:42:06 +0100 Subject: [PATCH] servers: enable vnstatd --- hosts/hades/default.nix | 6 ++++-- hosts/poseidon/default.nix | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hosts/hades/default.nix b/hosts/hades/default.nix index cb6b639..8402d77 100644 --- a/hosts/hades/default.nix +++ b/hosts/hades/default.nix @@ -124,8 +124,10 @@ in { }; }; - # Enable the OpenSSH daemon. - services.openssh.enable = true; + services = { + openssh.enable = true; + vnstat.enable = true; + }; virtualisation.docker.enable = true; diff --git a/hosts/poseidon/default.nix b/hosts/poseidon/default.nix index 30fc071..eea84dd 100644 --- a/hosts/poseidon/default.nix +++ b/hosts/poseidon/default.nix @@ -87,8 +87,10 @@ in { }; }; - # Enable the OpenSSH daemon. - services.openssh.enable = true; + services = { + openssh.enable = true; + vnstat.enable = true; + }; # Takes a long while to build documentation.nixos.enable = false;