Commit Graph

15 Commits

Author SHA1 Message Date
Seudonym
511068bba9 nixos/tests/syncthing: add defaults test 2026-06-12 16:35:37 +05:30
Jacek Galowicz
f99f026911 nixosTests: switch from deprecated copy_from_vm to copy_from_machine 2026-05-02 15:40:03 +02:00
Moraxyc
6708130feb nixosTests.syncthing-folders: cover unix socket usage 2026-04-07 15:50:19 +08:00
Pasha Fistanto
62e64cd2b6 nixosTests.syncthing-many-devices: Test a folder ID with white spaces 2026-03-20 15:26:39 +02:00
Pasha Fistanto
a3b08b7c25 nixosTests.syncthing-many-devices: refactor IDsToDelete handling sets
Make it a list and not an attribute set, and create these objects in the
server's config using a single Nix string concatenation, with as much as
possible consistency between devices & folders.
2026-03-20 15:26:38 +02:00
Pasha Fistanto
0233be9d19 nixosTests.syncthing-folders: Test IDs with white space 2026-03-17 10:09:05 +01:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
NAHO
a2ed7e8d88 nixos: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --exclude doc/manual/release-notes \
      --type file \
      . \
      nixos \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2026-01-15 16:07:55 +01:00
Doron Behar
8c73091987 nixosTests.syncthing-many-devices: nixfmt 2025-12-02 15:21:27 +02:00
Doron Behar
97d5c7782d nixosTests.syncthing-many-devices: fix
Use a name & path attributes for device & folder JSON object, otherwise
the following error is observed when running manually the script:

    folder "DeleteMe": folder has empty path
2025-12-02 15:12:30 +02:00
Doron Behar
6c857f2003 nixosTests.syncthing-many-devices: reduce curl's #retries 2025-12-02 15:08:47 +02:00
zorrobert
7a223b2685 nixos/syncthing: add option for ignore patterns
Syncthing can be configured to ignore certain files and
directories via ignore patterns. This PR adds a new nix option to
set these patterns declaratively.
2025-10-21 12:57:28 +02:00
Wolfgang Walther
c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
NullCube
7f483bbc00 nixos/tests/syncthing: add guiPassword and guiPasswordFile tests 2025-10-03 04:43:27 -07:00
NullCube
2ebf757637 nixos/tests/syncthing: move tests to folder 2025-10-03 04:43:24 -07:00