···286286287287- Setting `nixpkgs.config` options while providing an external `pkgs` instance will now raise an error instead of silently ignoring the options. NixOS modules no longer set `nixpkgs.config` to accomodate this. This specifically affects `services.locate`, `services.xserver.displayManager.lightdm.greeters.tiny` and `programs.firefox` NixOS modules. No manual intervention should be required in most cases, however, configurations relying on those modules affecting packages outside the system environment should switch to explicit overlays.
288288289289+- `service.borgmatic.settings.location` and `services.borgmatic.configurations.<name>.location` are deprecated, please move your options out of sections to the global scope.
290290+289291## Other Notable Changes {#sec-release-23.11-notable-changes}
290292291293- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.
+41-16
nixos/modules/services/backup/borgmatic.nix
···66 cfg = config.services.borgmatic;
77 settingsFormat = pkgs.formats.yaml { };
8899+ repository = with types; submodule {
1010+ options = {
1111+ path = mkOption {
1212+ type = str;
1313+ description = mdDoc ''
1414+ Path to the repository
1515+ '';
1616+ };
1717+ label = mkOption {
1818+ type = str;
1919+ description = mdDoc ''
2020+ Label to the repository
2121+ '';
2222+ };
2323+ };
2424+ };
925 cfgType = with types; submodule {
1026 freeformType = settingsFormat.type;
1111- options.location = {
2727+ options = {
1228 source_directories = mkOption {
1313- type = listOf str;
2929+ type = nullOr (listOf str);
3030+ default = null;
1431 description = mdDoc ''
1515- List of source directories to backup (required). Globs and
1616- tildes are expanded.
3232+ List of source directories and files to backup. Globs and tildes are
3333+ expanded. Do not backslash spaces in path names.
1734 '';
1818- example = [ "/home" "/etc" "/var/log/syslog*" ];
3535+ example = [ "/home" "/etc" "/var/log/syslog*" "/home/user/path with spaces" ];
1936 };
2037 repositories = mkOption {
2121- type = listOf str;
3838+ type = nullOr (listOf repository);
3939+ default = null;
2240 description = mdDoc ''
2323- Paths to local or remote repositories (required). Tildes are
2424- expanded. Multiple repositories are backed up to in
2525- sequence. Borg placeholders can be used. See the output of
2626- "borg help placeholders" for details. See ssh_command for
2727- SSH options like identity file or port. If systemd service
2828- is used, then add local repository paths in the systemd
2929- service file to the ReadWritePaths list.
4141+ A required list of local or remote repositories with paths and
4242+ optional labels (which can be used with the --repository flag to
4343+ select a repository). Tildes are expanded. Multiple repositories are
4444+ backed up to in sequence. Borg placeholders can be used. See the
4545+ output of "borg help placeholders" for details. See ssh_command for
4646+ SSH options like identity file or port. If systemd service is used,
4747+ then add local repository paths in the systemd service file to the
4848+ ReadWritePaths list.
3049 '';
3150 example = [
3232- "ssh://user@backupserver/./sourcehostname.borg"
3333- "ssh://user@backupserver/./{fqdn}"
3434- "/var/local/backups/local.borg"
5151+ { path="ssh://user@backupserver/./sourcehostname.borg"; label="backupserver"; }
5252+ { path="/mnt/backup"; label="local"; }
3553 ];
3654 };
3755 };
···6179 };
62806381 config = mkIf cfg.enable {
8282+8383+ warnings = []
8484+ ++ optional (cfg.settings != null && cfg.settings.location != null)
8585+ "`services.borgmatic.settings.location` is deprecated, please move your options out of sections to the global scope"
8686+ ++ optional (catAttrs "location" (attrValues cfg.configurations) != [])
8787+ "`services.borgmatic.configurations.<name>.location` is deprecated, please move your options out of sections to the global scope"
8888+ ;
64896590 environment.systemPackages = [ pkgs.borgmatic ];
6691
+1-1
nixos/tests/sqlite3-to-mysql.nix
···1919 python3Packages.pytest
2020 python3Packages.pytest-mock
2121 python3Packages.pytest-timeout
2222- python3Packages.factory_boy
2222+ python3Packages.factory-boy
2323 python3Packages.docker # only needed so import does not fail
2424 sqlite3-to-mysql
2525 ])
···5757 backports_tempfile = throw "backports_tempfile has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
5858 backports_unittest-mock = throw "backports_unittest-mock has been removed, since we no longer need to backport to python3.2"; # added 2023-07-28
5959 backports_weakref = throw "backports_weakref has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
6060+ beancount_docverif = beancount-docverif; # added 2023-10-08
6061 bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04
6162 bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15
6263 BlinkStick = blinkstick; # added 2023-02-19
···129130 Fabric = fabric; # addedd 2023-02-19
130131 face_recognition = face-recognition; # added 2022-10-15
131132 face_recognition_models = face-recognition-models; # added 2022-10-15
133133+ factory_boy = factory-boy; # added 2023-10-08
132134 fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
133135 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
134136 inherit (super.pkgs) fetchPypi; # added 2023-05-25
···167169 gpyopt = throw "gpyopt was remove because it's been archived upstream"; # added 2023-06-07
168170 graphite_api = throw "graphite_api was removed, because it is no longer maintained"; # added 2022-07-10
169171 graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09
172172+ grappelli_safe = grappelli-safe; # added 2023-10-08
170173 grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
171174 ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
172175 HAP-python = hap-python; # added 2021-06-01
···220223 mailman-web = throw "Please use pkgs.mailman-web"; # added 2022-04-29
221224 manticore = throw "manticore has been removed because its dependency wasm no longer builds and is unmaintained"; # added 2023-05-20
222225 markerlib = throw "markerlib has been removed because it's abandoned since 2013"; # added 2023-05-19
226226+ memory_profiler = memory-profiler; # added 2023-10-09
223227 mistune_0_8 = throw "mistune_0_8 was removed because it was outdated and insecure"; # added 2022-08-12
224228 mistune_2_0 = mistune; # added 2022-08-12
225229 mox = throw "mox was removed because it is unmaintained"; # added 2023-02-21
···278282 pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
279283 PyMVGLive = pymvglive; # added 2023-02-19
280284 pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09
285285+ pyramid_beaker = pyramid-beaker; # added 2023-08-23
286286+ pyramid_chameleon = pyramid-chameleon; # added 2023-08-23
287287+ pyramid_exclog = pyramid-exclog; # added 2023-08-24
281288 pyramid_hawkauth = throw "pyramid_hawkauth has been removed because it is no longer maintained"; # added 2023-02-2
282289 pyramid_jinja2 = pyramid-jinja2; # added 2023-06-06
290290+ pyramid_mako = pyramid-mako; # added 2023-08-24
291291+ pyramid_multiauth = pyramid-multiauth; # added 2023-08-24
283292 pyreadability = readability-lxml; # added 2022-05-24
284293 pyres = throw "pyres has been removed, since it is abandoned and broken"; # added 2023-06-20
285294 pyroute2-core = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16