aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/syncthing.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/syncthing.nix')
-rw-r--r--nixos/modules/syncthing.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/syncthing.nix b/nixos/modules/syncthing.nix
index 263acbe..af6d957 100644
--- a/nixos/modules/syncthing.nix
+++ b/nixos/modules/syncthing.nix
@@ -3,9 +3,8 @@
lib,
pkgs,
...
-}:
-with builtins;
-with lib; let
+}: let
+ inherit (lib) filterAttrs mkOption types mkIf any mkDefault recursiveUpdate genAttrs;
cnf = config.cynerd.syncthing;
inherit (config.networking) hostName;
allDevices = [