summaryrefslogtreecommitdiff
path: root/modules/webapps/webstats
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webapps/webstats')
-rw-r--r--modules/webapps/webstats/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/webapps/webstats/default.nix b/modules/webapps/webstats/default.nix
index 924d72de..6771f015 100644
--- a/modules/webapps/webstats/default.nix
+++ b/modules/webapps/webstats/default.nix
@@ -37,6 +37,9 @@ in {
37 }; 37 };
38 38
39 config = lib.mkIf (builtins.length cfg.sites > 0) { 39 config = lib.mkIf (builtins.length cfg.sites > 0) {
40 services.backup.profiles.goaccess = {
41 rootDir = cfg.dataDir;
42 };
40 users.users.root.packages = [ 43 users.users.root.packages = [
41 pkgs.goaccess 44 pkgs.goaccess
42 ]; 45 ];