modules = [ "${vmConfiguration}" ];
};
- # Also include a syncthing configuration with a declarative device id
+ # Also include a syncthing configuration with a device id
# because using this feature pulls in additional dependencies.
evaluatedSyncthingDeclarativeConfiguration = import <nixos/nixos/lib/eval-config.nix> {
system = builtins.currentSystem;
{
services.syncthing = {
enable = true;
- declarative.folders.forDeps.path = "/nope";
+ folders.forDeps.path = "/nope";
};
}
];
pkgs.writeText "configuration-with-folder.nix" ''
{ config, ... }: {
imports = [ ${configurationWithDeviceIDs} ];
- services.syncthing.declarative.folders.foo = {
+ services.syncthing.folders.foo = {
devices = [ "a" "b" ];
path = "''${config.services.syncthing.dataDir}/foo";
};