mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
restic: Add dedicated paths option
This commit is contained in:
parent
2761fc8953
commit
7e25a91691
7 changed files with 19 additions and 17 deletions
|
|
@ -68,14 +68,10 @@ in
|
|||
|
||||
custom.services.resticBackups.hedgedoc = lib.mkIf cfg.doBackups {
|
||||
conflictingService = "hedgedoc.service";
|
||||
extraConfig.paths =
|
||||
let
|
||||
hedgedocSettings = config.services.hedgedoc.settings;
|
||||
in
|
||||
[
|
||||
hedgedocSettings.uploadsPath
|
||||
hedgedocSettings.db.storage
|
||||
];
|
||||
paths = with config.services.hedgedoc.settings; [
|
||||
uploadsPath
|
||||
db.storage
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue