Add goaccess dashboard module

This commit is contained in:
2021-11-24 00:56:07 +00:00
parent 36031547fa
commit 892c781eba
3 changed files with 69 additions and 8 deletions

View File

@@ -2,6 +2,7 @@
imports = [
./hardware-configuration.nix
./networking.nix # generated at runtime by nixos-infect
./goaccess.nix
];
nix = {
@@ -27,6 +28,17 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAoyFSuik6XRU2b+O4v9C1bc7rKJyjKgzUeaBaVNQKN6 vanilla-pinebook"
];
users.groups.www = {};
services.nginx.group = "www";
services.goaccess = {
enable = true;
user = "goaccess";
group = "www";
dir = "/var/www/goaccess";
host = "dash.danilafe.com";
};
services.danilafe-blog = {
enable = true;
challengePath = "/var/www/challenges";