]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blobdiff - modules/webapps/webstats/default.nix
Upgrade nixos
[perso/Immae/Config/Nix/NUR.git] / modules / webapps / webstats / default.nix
index 6771f015189adeb0da10de88edb9dcb47c20ff5a..fe5f068d410345e1f84a20e8c0d65474989260ec 100644 (file)
@@ -23,7 +23,7 @@ in {
               '';
           };
           name = lib.mkOption {
-            type = lib.types.string;
+            type = lib.types.str;
             description  = ''
               Domain name. Corresponds to the Apache file name and the
               folder name in which the state will be saved.
@@ -37,7 +37,7 @@ in {
   };
 
   config = lib.mkIf (builtins.length cfg.sites > 0) {
-    services.backup.profiles.goaccess = {
+    services.duplyBackup.profiles.goaccess = {
       rootDir = cfg.dataDir;
     };
     users.users.root.packages = [