Remove use of the "with" keyword

This commit is contained in:
SebastianStork 2025-07-14 12:17:14 +02:00
parent 1587298968
commit 951a57e48e

View file

@ -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
];
};
};