mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Make more use of pipes
This commit is contained in:
parent
cd3765efea
commit
14b0e0ac1d
4 changed files with 9 additions and 7 deletions
|
|
@ -92,7 +92,7 @@ in
|
|||
lib.genAttrs folders (name: {
|
||||
path = "${config.services.syncthing.dataDir}/${name}";
|
||||
ignorePerms = false;
|
||||
devices = lib.attrNames config.services.syncthing.settings.devices;
|
||||
devices = config.services.syncthing.settings.devices |> lib.attrNames;
|
||||
});
|
||||
in
|
||||
genFolders [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue