diff options
author | Karel Kočí <cynerd@email.cz> | 2024-04-16 10:51:59 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-04-16 10:53:52 +0200 |
commit | bbda84ca261397086f866ece115c4ec9111d4d02 (patch) | |
tree | 29b165207bf12de36cc6f983edd3f3a65512fba2 /nixos/modules/syncthing.nix | |
parent | 2fcf002e3abff092eafd098fadafa15ea579aae4 (diff) | |
download | nixos-personal-bbda84ca261397086f866ece115c4ec9111d4d02.tar.gz nixos-personal-bbda84ca261397086f866ece115c4ec9111d4d02.tar.bz2 nixos-personal-bbda84ca261397086f866ece115c4ec9111d4d02.zip |
Try to improve the code
Diffstat (limited to 'nixos/modules/syncthing.nix')
-rw-r--r-- | nixos/modules/syncthing.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/syncthing.nix b/nixos/modules/syncthing.nix index d6b65e6..91736ca 100644 --- a/nixos/modules/syncthing.nix +++ b/nixos/modules/syncthing.nix @@ -26,7 +26,7 @@ "ridcully" "spt-omnia" ]; - filterDevice = filterAttrs (n: v: any (d: d == hostName) v.devices); + filterDevice = filterAttrs (_: v: any (d: d == hostName) v.devices); in { options = { cynerd.syncthing = { |