better syncthing setup

This commit is contained in:
Henri Dohmen 2026-01-13 20:55:39 +01:00
parent 9f9a4d0377
commit 2c7f498d42
Signed by: hd
GPG key ID: AB79213B044674AE
8 changed files with 56 additions and 35 deletions

View file

@ -17,5 +17,10 @@ assert (
);
rec {
managed = builtins.mapAttrs (_: v: { id = v; }) hashes;
all = unmanaged // managed;
devices = unmanaged // managed;
device-names = rec {
all = lib.attrNames devices;
desktops = (lib.intersectLists var.nixos-desktops all);
};
}