summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2019-06-27 14:15:21 +0200
committerDomen Kožar <domen@dev.si>2019-06-27 14:15:37 +0200
commit2072043efbd74b40ef107e235287ba91e489695b (patch)
tree55a16d6c4891ed84310b5922e747dae3b60f688b /nixos
parent7e90540d137552708d75c5d0efa31b866c01898c (diff)
downloadnixpkgs-2072043efbd74b40ef107e235287ba91e489695b.tar
nixpkgs-2072043efbd74b40ef107e235287ba91e489695b.tar.gz
nixpkgs-2072043efbd74b40ef107e235287ba91e489695b.tar.bz2
nixpkgs-2072043efbd74b40ef107e235287ba91e489695b.tar.lz
nixpkgs-2072043efbd74b40ef107e235287ba91e489695b.tar.xz
nixpkgs-2072043efbd74b40ef107e235287ba91e489695b.tar.zst
nixpkgs-2072043efbd74b40ef107e235287ba91e489695b.zip
duplicati: fix StateDirectory
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/backup/duplicati.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/backup/duplicati.nix b/nixos/modules/services/backup/duplicati.nix
index a4b895d78a6..0ff720c5897 100644
--- a/nixos/modules/services/backup/duplicati.nix
+++ b/nixos/modules/services/backup/duplicati.nix
@@ -48,7 +48,7 @@ in
       serviceConfig = {
         User = cfg.user;
         Group = "duplicati";
-        StateDirectory = "/var/lib/duplicati";
+        StateDirectory = "duplicati";
         ExecStart = "${pkgs.duplicati}/bin/duplicati-server --webservice-interface=${cfg.interface} --webservice-port=${toString cfg.port} --server-datafolder=/var/lib/duplicati";
         Restart = "on-failure";
       };