summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c47fc98)
So tests run without rename warnings.
(modulesPath + "/virtualisation/qemu-vm.nix")
];
(modulesPath + "/virtualisation/qemu-vm.nix")
];
- nix.binaryCaches = lib.mkForce [ ];
+ nix.settings.substituters = lib.mkForce [ ];
nix.extraOptions = ''
hashed-mirrors =
connect-timeout = 1
nix.extraOptions = ''
hashed-mirrors =
connect-timeout = 1
{
services.syncthing = {
enable = true;
{
services.syncthing = {
enable = true;
- folders.forDeps.path = "/nope";
+ settings.folders.forDeps.path = "/nope";
pkgs.writeText "configuration-with-folder.nix" ''
{ config, ... }: {
imports = [ ${configurationWithDeviceIDs} ];
pkgs.writeText "configuration-with-folder.nix" ''
{ config, ... }: {
imports = [ ${configurationWithDeviceIDs} ];
- services.syncthing.folders.foo = {
+ services.syncthing.settings.folders.foo = {
devices = [ "a" "b" ];
path = "''${config.services.syncthing.dataDir}/foo";
};
devices = [ "a" "b" ];
path = "''${config.services.syncthing.dataDir}/foo";
};
def verifyDeviceIDSet(machine, expectedDevice):
machine.wait_until_succeeds(
def verifyDeviceIDSet(machine, expectedDevice):
machine.wait_until_succeeds(
- '(( "$(nix --experimental-features nix-command eval --impure --raw --expr "(import <nixos/nixos> {}).config.services.syncthing.declarative.devices.%s.id" | wc -c)" == 63 ))'
+ '(( "$(nix --experimental-features nix-command eval --impure --raw --expr "(import <nixos/nixos> {}).config.services.syncthing.settings.devices.%s.id" | wc -c)" == 63 ))'