aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/syncthing.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-01-16 17:00:20 +0100
committerKarel Kočí <cynerd@email.cz>2024-01-16 17:00:20 +0100
commitcfacd69575b5888bf3e054c9f8056a19c4b5903e (patch)
treea2f1c475ef872e95211bf648a5a0fe48965c66a0 /nixos/modules/syncthing.nix
parent55296b643fe2934b875561dd58861b69d4951e9c (diff)
downloadnixos-personal-cfacd69575b5888bf3e054c9f8056a19c4b5903e.tar.gz
nixos-personal-cfacd69575b5888bf3e054c9f8056a19c4b5903e.tar.bz2
nixos-personal-cfacd69575b5888bf3e054c9f8056a19c4b5903e.zip
Rework
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 = [