1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39:47 +01:00
home-manager/tests/modules/programs/mbsync
David Baynard 41790ba656
mbsync: extend config type with list of strings
Some configuration options can take space separated strings; for
example `SSLVersions` can be configured with multiple allowed
versions.

    SSLVersions TLSv1.3 TLSv1.2

This can now be represented in Home Manager.

    SSLVersions = [ “TLSv1.3” “TLSv1.2” ];

In implementing this change, it uses oneOf for config type, as it is a
cleaner way to represent the union than the nested eithers
formulation.

Also add SSLVersions to test lists of strings in
`account.extraConfig`.
2022-09-20 01:24:21 +02:00
..
default.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
mbsync-expected.conf mbsync: extend config type with list of strings 2022-09-20 01:24:21 +02:00
mbsync-master-slave-change.nix mbsync: stub test dependency 2021-10-30 20:44:21 +02:00
mbsync.nix mbsync: extend config type with list of strings 2022-09-20 01:24:21 +02:00