summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/duply_backup/default.nix4
-rw-r--r--modules/rsync_backup/default.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/duply_backup/default.nix b/modules/duply_backup/default.nix
index 32fa9414..89313789 100644
--- a/modules/duply_backup/default.nix
+++ b/modules/duply_backup/default.nix
@@ -1,7 +1,7 @@
1{ lib, pkgs, myconfig, config, ... }: 1{ lib, pkgs, config, ... }:
2 2
3let 3let
4 cfg = myconfig.env.backup; 4 cfg = config.myEnv.backup;
5 varDir = "/var/lib/duply"; 5 varDir = "/var/lib/duply";
6 duplyProfile = profile: prefix: '' 6 duplyProfile = profile: prefix: ''
7 GPG_PW="${cfg.password}" 7 GPG_PW="${cfg.password}"
diff --git a/modules/rsync_backup/default.nix b/modules/rsync_backup/default.nix
index 05177c80..dadf5e7c 100644
--- a/modules/rsync_backup/default.nix
+++ b/modules/rsync_backup/default.nix
@@ -1,4 +1,4 @@
1{ lib, pkgs, config, myconfig, ... }: 1{ lib, pkgs, config, ... }:
2let 2let
3 partModule = lib.types.submodule { 3 partModule = lib.types.submodule {
4 options = { 4 options = {