Commit graph

520 commits

Author SHA1 Message Date
Peder Bergebakken Sundt 953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
Alex Martens 74de1cde51 nixos/borgbackup: fix typo in example 2025-01-18 08:06:05 -08:00
6543 917be2fef6 services.mysqlBackup: nixfmt 2025-01-12 20:00:54 +01:00
6543 710b189b14 services.mysqlBackup: apply markdown to description
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2025-01-12 19:51:25 +01:00
6543 085ebf0376 services.mysqlBackup: apply suggested refactoring 2025-01-12 19:50:57 +01:00
6543 8b4703426c services.mysqlBackup: add myselfe as maintainer 2025-01-12 19:45:43 +01:00
6543 ec9d4c4ae6 services.mysqlBackup: add option to change compression tool 2025-01-12 19:45:43 +01:00
6543 459a63f20a services.mysqlBackup: cleanup 2025-01-12 19:45:42 +01:00
Emily e7e0421242
Revert "nixos/rustic: init module" 2025-01-11 22:06:17 +01:00
Léo Gaspard 619f94bf5e nixos/rustic: nixfmt 2025-01-11 15:32:08 +01:00
Léo Gaspard 59664286ac nixos/rustic: fix manual build 2025-01-11 15:26:24 +01:00
Léo Gaspard e0ae370dab nixos/rustic: init module 2025-01-11 15:17:01 +01:00
Léo Gaspard cf4e9229f6 nixos/borgmatic: automatically relax systemd hardening when sudo is required 2025-01-11 14:12:08 +01:00
Léo Gaspard 9cf7310594 nixos/borgmatic: default to the correct user when username is configured 2025-01-11 14:12:08 +01:00
Léo Gaspard 4fa9426a8a nixos/borgmatic: have at least coreutils in the systemd closure by default 2025-01-11 14:12:08 +01:00
Léo Gaspard b873990d4c nixos/borgmatic: automatically add binaries required for database dumping 2025-01-11 14:12:08 +01:00
piegames dd7d5339f7 treewide: Fix incorrect string indentations 2025-01-07 19:49:28 +01:00
Ryan Hendrickson 289a4c6631
nixos/btrbk: add snapshotOnly option (#369480) 2025-01-05 16:30:50 -05:00
cy acf701b49a nixos/btrbk: add snapshotOnly option 2025-01-03 18:03:10 -05:00
Sandro f4861a9f02
tsm-client: 8.1.24.0 -> 8.1.25.0 (and update URLs) (#365012) 2025-01-02 23:25:56 +01:00
Gaetan Lepage 28f43d4628 nixos/zfs-replication: add --verbose to command line arguments 2025-01-02 08:48:37 +01:00
Gaetan Lepage 83af87a206 nixos/zfs-replication: use expanded arguments for clarity 2025-01-02 08:48:22 +01:00
Guillaume Girol c5aaf462f0
nixos/borgbackup: support specific warning codes when failOnWarnings=false (#368701) 2025-01-01 21:54:29 +01:00
Sefa Eyeoglu 11de46681a
restic: fixed handling of arguments with spaces in restic wrappers (#366941) 2025-01-01 10:28:48 +01:00
cy 53add6c0c3 nixos/borgbackup: support specific warning codes when failOnWarnings=false 2024-12-30 03:27:40 -05:00
Gaetan Lepage 4b5bbe915e nixos/zfs-replication: fix typo 2024-12-28 10:44:41 +01:00
Gaetan Lepage e5f2ebf6d3 nixos/zfs-replication: add package option 2024-12-26 15:52:52 +01:00
euxane 1dabc1f584 maintainers: rename pacien -> euxane, update details 2024-12-21 21:20:22 +01:00
Ilya Epifanov a21e4fa9e0 restic: fixed handling of arguments with spaces in restic wrappers 2024-12-20 22:05:47 +01:00
Sefa Eyeoglu 8592569c80
nixos/borgbackup: add Scrumplex as maintainer
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-12-18 22:31:38 +01:00
Sefa Eyeoglu 29aa091dbe
nixos/borgbackup: fix extraArgs shell expansion
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-12-18 22:31:38 +01:00
Yarny0 2f85e9679c tsm-client: 8.1.24.0 -> 8.1.25.0
Readme: https://www.ibm.com/support/pages/node/597891#Readme_8125
(At the time of this writingn,
most URLs in there lead to a login portal.
This might change with time.)
2024-12-13 20:59:27 +01:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Felix Buehler 01218209dc nixos/services.duplicity: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler 699a0f8601 nixos/services.duplicati: remove with lib; 2024-11-27 22:26:59 +01:00
Felix Buehler ef50268985 nixos/services.borgmatic: remove with lib; 2024-11-27 22:26:59 +01:00
Peder Bergebakken Sundt 986e6d4e3d
tsm-client: 8.1.23.0 -> 8.1.24.0 (#345039) 2024-10-04 18:25:37 +02:00
Bjørn Forsman 48908e5b86 nixos: improve systemd slice names
Following
https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Description=,
update slice names to be short, descriptive and capitalized.
2024-10-02 20:24:13 +02:00
Yarny0 f748ccc318 tsm-client: 8.1.23.0 -> 8.1.24.0
Also, all URLs in package and module comments are updated.

At the time of this writing, the "Update History" page
(release notes) for tsm-client >=8.1.19 does not list any
"APARs" ("Authorized Program Analysis Reports") for 8.1.24.0.
2024-09-28 08:48:41 +02:00
Simon Hauser 32cc042368
mariadb: 10.5.26, 10.6.19, 10.11.9, 11.4.3 (#334878)
* mariadb: 10.5.26, 10.6.19, 10.11.9, 11.4.3

* nixos/tests/automysqlbackup: nixfmt

* nixos/automysqlbackup: fix tests

* nixos/tests/mariadb-galera: nixfmt

* nixos/tests/mariadb-galera: fix test failing with new default IPv6 configuration
2024-09-23 20:00:19 +02:00
h7x4 f88d5e23d9
nixos/bacula: add system-bacula.slice (#338739) 2024-09-21 17:07:20 +02:00
h7x4 a79863f0e1
nixos/services.tarsnap: fix escapeSystemdPath (#342911) 2024-09-19 09:21:02 +02:00
Ashish SHUKLA f6e2fb5e11
nixos/services.tarsnap: fix escapeSystemdPath invocation 2024-09-19 00:12:13 +00:00
David Knaack b6fed52cbc
nixos/services.snapraid: re-add missing lib. for lib imports
Related #335631
2024-09-16 21:10:57 +02:00
Jörg Thalheim 224510cec2 nixos/syncoid: don't prepend escapeUnitName 2024-09-16 18:45:00 +02:00
Felix Buehler 561d58c49c nixos/services.zrepl: remove with lib; 2024-09-15 10:43:47 +02:00
Felix Buehler 8a7d699812 nixos/services.zfs.autoReplication: remove with lib; 2024-09-15 10:43:47 +02:00
Felix Buehler e53c595a18 nixos/services.tarsnap: remove with lib; 2024-09-15 10:43:47 +02:00
Felix Buehler 8442ed34ac nixos/services.syncoid: remove with lib; 2024-09-15 10:43:47 +02:00
Felix Buehler 48d46271cb nixos/services.snapraid: remove with lib; 2024-09-15 10:43:47 +02:00
Felix Buehler 4682ba9d88 nixos/services.sanoid: remove with lib; 2024-09-15 10:43:46 +02:00
Felix Buehler dfb290a6c6 nixos/services.rsnapshot: remove with lib; 2024-09-15 10:43:46 +02:00
Felix Buehler 27f54eb43e nixos/services.restic.backups: remove with lib; 2024-09-15 10:43:46 +02:00
Felix Buehler 9ad1866434 nixos/services.restic.server: remove with lib; 2024-09-15 10:43:46 +02:00
Felix Buehler dee892a446 nixos/services.postgresqlWalReceiver: remove with lib; 2024-09-15 10:43:46 +02:00
Felix Buehler 5c0e7f70a5 nixos/services.postgresqlBackup: remove with lib; 2024-09-15 10:43:46 +02:00
Felix Buehler 02145eb692 nixos/services.mysqlBackup: remove with lib; 2024-09-15 10:43:46 +02:00
Felix Buehler f51cd10816 nixos/services.borgbackup: remove with lib; 2024-09-02 22:26:34 +02:00
Tomodachi94 50afd1e1d3
nixos/bacula: add system-bacula.slice
Part of #279915
2024-08-31 12:53:52 -07:00
Felix Buehler fcfa7fa441 nixos/services.znapzend: remove with lib; 2024-08-30 00:19:18 +02:00
Philip Taron 5c21c35835
nixos/borgmatic: lib.mdDoc is deprecated 2024-08-12 08:02:10 -07:00
Florian 20d3d501ad
Merge pull request #290913 from flandweber/borgmatic-improvement
nixos/borgmatic: added test
2024-08-12 15:37:12 +02:00
imlonghao 4a03ff8bc8
nixos/borgmatic: change the default value 2024-08-04 11:56:25 +08:00
Emily ecf7c683c2
Merge pull request #319807 from hellodword/nixos-restic-add-unlock
nixos/restic: ensure newline in --files-from
2024-08-02 18:18:47 +02:00
hellodword e4a4da8794
nixos/restic: ensure newline in --files-from 2024-08-01 02:07:38 +00:00
Emily d21a082a4d
Merge pull request #296691 from helsinki-systems/feat/restic-systemd-inhibit
nixos/restic: add option to inhibit going to sleep
2024-07-30 20:45:56 +02:00
Marc Schütz 9be35dff51 mysqlBackup: use rsyncable compression 2024-07-28 11:03:13 +02:00
Robert Schütz 3e4e2db2d7 restic-rest-server: 0.12.1 -> 0.13.0
Diff: https://github.com/restic/rest-server/compare/v0.12.1...v0.13.0

Changelog: https://github.com/restic/rest-server/blob/v0.13.0/CHANGELOG.md
2024-07-27 02:34:16 -07:00
Emily 477c3c6d5e
Merge pull request #307962 from jpds/restic-snapshot-list-only-latest
nixos/restic: Use cat config in pre-start repo initialization check
2024-07-24 17:13:38 +02:00
Sandro 3c2e182677
Merge pull request #318897 from symphorien/btrbk_undeprecate_extraPackages
nixos/btrbk: undeprecate extraPackages
2024-07-14 19:13:55 +02:00
Peder Bergebakken Sundt 447ca95585
Merge pull request #320277 from Yarny0/tsm-client-update
tsm-client: update and migrate to by-name and finalAttrs
2024-07-10 19:00:24 +02:00
Franz Pletz b9db8b7c16
Merge pull request #325589 from wskeele/duplicity-include-filelist
nixos/duplicity: Add support for --include-filelist / --exclude-filelist
2024-07-09 16:45:35 +02:00
wskeele fff878e7c6 nixos/duplicity: Add support for --include-filelist / --exclude-filelist 2024-07-08 17:02:42 +02:00
Max Hausch a8038698d3
nixos/restic: add option to inhibit going to sleep 2024-07-08 09:43:27 +02:00
Tom Sydney Kerckhove edb707e3b5 borgbackup: Use RequiresMountsFor to require that the repo is mounted 2024-06-30 21:33:13 +02:00
Yarny0 fcb87b6377 tsm-client: 8.1.22.0 -> 8.1.23.0
"Update History" (release notes):
https://www.ibm.com/support/pages/node/6998343
The list of APARs ("Authorized Program Analysis Reports")
does not contain anything that would affect security.

With this update, the Java-based
GUI requires a newer jdk version
(note: version 8.1.22.0 was not compatible with the newer jdk).

Also, all URLs in package and module comments are updated.
2024-06-17 14:51:31 +02:00
Guillaume Girol 952b1a3d96 nixos/btrbk: undeprecate extraPackages
it is required on systems where ssh access is configured for
lz4-compressed btrfs send, but no instances are present.

fixes https://github.com/NixOS/nixpkgs/issues/316676
2024-06-10 12:00:00 +00:00
Matt Kline 234f4db797 nixos/snapper, nixos/borgbackup: Fix module doc typo
The persistentTimer argument sets the _Persistent_ field in
systemd.timer(5).

Pointed out in #312549
2024-05-23 14:23:40 -07:00
Guillaume Girol 673f00ad7b
Merge pull request #310199 from symphorien/borg_ignore_warnings_master
nixos/borgbackup: add an option to ignore warnings
2024-05-13 23:53:18 +02:00
Guillaume Girol 00346bff2b nixos/borgbackup: add an option to ignore warnings
borgbackup exit code 1 means warning, not error. For example if a file
is modified during backup, borg create exits with code 1. It may be
desirable to count that as success.
2024-05-09 12:00:00 +00:00
Pascal Wittmann a751e2faa2
Merge pull request #302908 from kai-tub/nixos/restic/fix-checkCmd
nixos/restic: fix skipping of check command
2024-05-08 10:29:31 +02:00
Kai Norman Clasen c650982a43 nixos/restic: Add runCheck option
This commit fixes the requirement to provide a pruneOption to ensure
that the check command is run when a check option is set. This is useful
for check-only configurations. The option is implicitly set if checkOpts
are given by default.
2024-05-04 22:44:37 +02:00
Jonathan Davies 046691a499 nixos/restic: Use cat config command in pre-start command for repo initialization
check, per upstream recommendation in https://github.com/restic/restic/issues/1690

This is to prevent logs from becoming unwieldy with large repo listings.
2024-05-01 12:50:55 +01:00
Tobi Bleiker 3accf6d393
znapzend: update declarations for --mailErrorSummaryTo
Co-authored-by: Janne Heß <dasJ@users.noreply.github.com>
2024-05-01 09:51:09 +02:00
Tobi Bleiker 2bb9ac6442 znapzend: add --mailErrorSummaryTo 2024-04-19 22:16:18 +02:00
Peder Bergebakken Sundt 2cf972b603
Merge pull request #298563 from Yarny0/tsm-client-update
tsm-client: 8.1.21.0 -> 8.1.22.0
2024-04-18 12:09:50 +02:00
stuebinm 6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Pascal Bach a8eaee11a9
Merge pull request #296459 from MinerSebas/restic-rest-server-hardening
nixos/restic-rest-server:  Add additional service hardening
2024-04-10 23:33:34 +02:00
Rick van Schijndel 067e519281
Merge pull request #302858 from tweag/infinisil-maintainer
treewide: Drop infinisil as maintainer from most packages
2024-04-10 08:50:38 +02:00
Silvan Mosberger ea5dfeab93 treewide: Drop infinisil as maintainer from most packages
I'm not going anywhere, I'm focusing my energy on other issues, and
getting pinged as a maintainer for packages is a bit distracting (also
I'm not using most of these packages anyways!)
2024-04-09 21:43:39 +02:00
Jörg Thalheim 13cc579932
Merge pull request #301528 from Mic92/borgbackup-fix
nixos/borgbackup: fix network-online.target warning
2024-04-09 19:39:11 +02:00
Bjørn Forsman 786141228f nixos/borgbackup: fix directory ownership regression
Re-add separate creation of the ~/.config and ~/.cache directories so
that they get correct ownership. Or else they get owned by root.

systemd-tmpfiles also warns about it:

  machine # [    3.022195] systemd-tmpfiles[472]: Detected unsafe path transition /home/user1 (owned by user1) → /home/user1/.cache (owned by root) during canonicalization of home/user1/.cache.
  machine # [    3.024566] systemd-tmpfiles[472]: Detected unsafe path transition /home/user1 (owned by user1) → /home/user1/.config (owned by root) during canonicalization of home/user1/.config.

Fixes: 8d3cf213db ("nixos/borgbackup: replace activationScript via tmpfiles")
2024-04-06 16:38:11 +02:00
Jörg Thalheim 44fd320df6 nixos/borgbackup: fix network-online.target warning
service runs after network-online.target but doesn't depend on it.
2024-04-04 13:49:40 +02:00
Janne Heß fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
Janne Heß bc77c7a973 treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00
Yarny0 961584c3dc tsm-client: 8.1.21.0 -> 8.1.22.0
"Update History" (release notes):
https://www.ibm.com/support/pages/node/6998343

...does not list any security-relevant changes
(mostly trademark name changes).

Also, all URLs in package and module comments are updated.
2024-03-22 17:25:25 +01:00
MinerSebas 9e1fe5cddd nixos/restic-rest-server: Make the service socket activated 2024-03-16 17:07:55 +01:00
MinerSebas 7762c2233c nixos/restic-rest-server: Add additional service hardening 2024-03-16 08:18:50 +01:00
Sandro 80ec88edec
Merge pull request #292025 from RaHoni/baculaTls 2024-03-11 12:01:19 +01:00
Peder Bergebakken Sundt 5f9689332a
Merge pull request #278537 from wfdewith/syncoid-permissions
nixos/syncoid: add missing ZFS mount permission
2024-03-08 00:11:39 +01:00