style: reformat with nixfmt-rfc-style

This commit is contained in:
Felix Schröter 2024-05-26 16:45:38 +02:00
parent 5ad8bc1d56
commit 1c5d83d81e
Signed by: felschr
GPG key ID: 671E39E6744C807D
99 changed files with 2247 additions and 1334 deletions
modules

View file

@ -1,10 +1,16 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
with lib;
{
config = {
systemd.services = mapAttrs' (name: backup:
systemd.services = mapAttrs' (
name: backup:
nameValuePair "restic-backups-${name}" {
serviceConfig = {
CPUWeight = 25;
@ -14,6 +20,7 @@ with lib;
IOSchedulingClass = "idle";
IOSchedulingPriority = 7;
};
}) config.services.restic.backups;
}
) config.services.restic.backups;
};
}