nixpkgs/nixos/modules
Alvar Penning adafbeff4a nixos/restic: generalize cache configuration
The restic repository cache location defaults to ~/.cache/restic when
not overwritten either by the --cache-dir command line parameter or the
universal RESTIC_CACHE_DIR environment variable.

Currently, the --cache-dir variable is set to only some restic commands,
but, e.g., not to the unit's preStart command for the module's
initialize option. This results in two distinct cache locations, one at
~/.cache/restic for the initialize commands and one at the configured
--cache-dir location for the restic backup command.

By explicitly setting RESTIC_CACHE_DIR for the unit, only one cache at
the correct location will be used.

https://restic.readthedocs.io/en/v0.15.1/manual_rest.html#caching
2023-03-11 12:59:10 +01:00
..
config qt5: use makeScopeWithSplicing 2023-03-09 21:16:03 +02:00
hardware Merge pull request #217718 from Kiskae/nvidia/unbreak-6.2 2023-02-24 17:46:26 -03:00
i18n/input-method nixos/manual: render module chapters with nixos-render-docs 2023-01-27 20:07:34 +01:00
installer configuration.nix: suggest a command line program 2023-02-28 17:16:03 +01:00
misc Revert "nixos/polkit: guard static gid for polkituser behind state version" 2023-02-25 22:32:16 -05:00
profiles Merge pull request #208956 from SuperSandro2000/profile-base-tcpdump 2023-01-17 01:20:31 +01:00
programs Merge pull request #218921 from wineee/waybar 2023-03-08 14:05:03 +02:00
security Revert "nixos/polkit: guard static gid for polkituser behind state version" 2023-02-25 22:32:16 -05:00
services nixos/restic: generalize cache configuration 2023-03-11 12:59:10 +01:00
system nixos/systemd-oomd: disable systemd-oomd when enableUnifiedCgroupHierarchy is false 2023-03-08 18:39:18 -05:00
tasks nixos/envfs: add extraFallbackPathCommands options 2023-02-08 15:52:38 +01:00
testing Merge pull request #207801 from ElvishJerricco/systemd-stage-1-test-instrumentation 2022-12-28 01:43:03 +01:00
virtualisation Merge pull request #217886 from lilyinstarlight/fix/qemu-vm-initrd-mkdir-0755 2023-03-08 19:17:28 -05:00
module-list.nix nixos/jellyseerr: init 2023-03-10 16:18:00 +01:00
rename.nix Merge pull request #210477 from wineee/deepin-lib 2023-01-26 21:56:17 +08:00