mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Replace some uses of lib.mapAttrsToList
This commit is contained in:
parent
d5f3296bf0
commit
be8712c85a
4 changed files with 12 additions and 8 deletions
|
|
@ -43,7 +43,7 @@ in
|
|||
};
|
||||
|
||||
systemd.tmpfiles.rules =
|
||||
resticBackups |> lib.mapAttrsToList (name: _: "d /var/cache/restic-backups-${name} 700 - - -");
|
||||
resticBackups |> lib.attrNames |> lib.map (name: "d /var/cache/restic-backups-${name} 700 - - -");
|
||||
|
||||
services.restic.backups =
|
||||
resticBackups
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue