about summary refs log tree commit diff
path: root/nixos/tests/borgbackup.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-01-15services.openssh: support freeform settings (#193757)Matthieu Coudron1-2/+4
* services.openssh: support freeform settings Keep "extraConfig" but introduces "settings". Also renames several options (mkRenamedOptionModule [ "services" "openssh" "kbdInteractiveAuthentication" ] [ "services" "openssh" "settings" "KbdInteractiveAuthentication" ]) (mkRenamedOptionModule [ "services" "openssh" "passwordAuthentication" ] [ "services" "openssh" "settings" "PasswordAuthentication" ]) (mkRenamedOptionModule [ "services" "openssh" "useDns" ] [ "services" "openssh" "settings" "UseDns" ]) (mkRenamedOptionModule [ "services" "openssh" "permitRootLogin" ] [ "services" "openssh" "settings" "PermitRootLogin" ]) * updated doc * regen doc
2022-12-04nixos/borgbackup: Add option for inhibiting sleepJacob Greenleaf1-0/+20
Adds a new option for backup jobs `inhibitsSleep` which prevents the system from going to sleep while a backup is in progress. Uses `systemd-inhibit`, which holds a "lock" that prevents the system from sleeping while the process it invokes is running. This did require wrapping the existing backup script using `writeShellScript` so that it could be run by `systemd-inhibit`.
2022-01-18openssh: Update tests to use new option nameDaniel Frank1-1/+1
2021-10-22nixos/borgbackup: allow dump scripts as stdin inputspennae1-0/+33
borg is able to process stdin during backups when backing up the special path -, which can be very useful for backing up things that can be streamed (eg database dumps, zfs snapshots).
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl1-1/+1
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2020-08-04nixos/tests/*: editorconfig fixeszowoq1-1/+1
2019-11-06nixos/borgbackup: port test to pythonMarijan1-56/+66
2019-08-28treewide: remove redundant recvolth1-1/+1
2018-12-09nixos/tests/borgbackup: test `borg mount`Robert Schütz1-0/+3
2018-07-20[bot] nixos/*: remove unused arguments in lambdasvolth1-2/+2
2018-03-19nixos/borgbackup: initRobert Schütz1-11/+152
2018-01-29nixos/borgbackup: add testJörg Thalheim1-0/+21
We had problems to get borg's own test suite running. This test is intended to perform a quick smoke test to see whether we have missed not any important dependency necessary to create backups with borg. tested with: $ nix-build nixos/release.nix -A tests.borgbackup.x86_64-linux