From 67823348fc9b50dd1cfb5cd0ed67b3194365effc Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 11 Jun 2023 10:47:31 +0200 Subject: configs: reference stockholm by relative path --- krebs/2configs/syncthing.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'krebs/2configs/syncthing.nix') diff --git a/krebs/2configs/syncthing.nix b/krebs/2configs/syncthing.nix index d6d42ca1..e5a785f0 100644 --- a/krebs/2configs/syncthing.nix +++ b/krebs/2configs/syncthing.nix @@ -1,4 +1,6 @@ -{ options, config, pkgs, ... }: with import ; let +{ options, config, lib, pkgs, ... }: +with import ../../lib/lib.nix { inherit lib; }; +let mk_peers = mapAttrs (n: v: { id = v.syncthing.id; }); all_peers = filterAttrs (n: v: v.syncthing.id != null) config.krebs.hosts; -- cgit v1.2.3