mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Remove use of the "with" keyword
This commit is contained in:
parent
1587298968
commit
951a57e48e
1 changed files with 8 additions and 4 deletions
|
|
@ -87,9 +87,13 @@ in
|
|||
|
||||
custom.services.resticBackups.hedgedoc = lib.mkIf cfg.doBackups {
|
||||
conflictingService = "hedgedoc.service";
|
||||
extraConfig.paths = with config.services.hedgedoc.settings; [
|
||||
uploadsPath
|
||||
db.storage
|
||||
extraConfig.paths =
|
||||
let
|
||||
hedgedocSettings = config.services.hedgedoc.settings;
|
||||
in
|
||||
[
|
||||
hedgedocSettings.uploadsPath
|
||||
hedgedocSettings.db.storage
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue