mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51: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 {
|
custom.services.resticBackups.hedgedoc = lib.mkIf cfg.doBackups {
|
||||||
conflictingService = "hedgedoc.service";
|
conflictingService = "hedgedoc.service";
|
||||||
extraConfig.paths = with config.services.hedgedoc.settings; [
|
extraConfig.paths =
|
||||||
uploadsPath
|
let
|
||||||
db.storage
|
hedgedocSettings = config.services.hedgedoc.settings;
|
||||||
|
in
|
||||||
|
[
|
||||||
|
hedgedocSettings.uploadsPath
|
||||||
|
hedgedocSettings.db.storage
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue