1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

feat: add restic backup to hetzner storage box

This commit is contained in:
oddlama 2024-01-15 01:42:04 +01:00
parent a464c99fb8
commit 25eb9e3766
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
9 changed files with 23 additions and 78 deletions

View file

@ -160,7 +160,11 @@
;
}
// flake-utils.lib.eachDefaultSystem (system: rec {
apps.setupHetznerStorageBoxes = import ./nix/setup-hetzner-storage-boxes.nix self;
apps.setupHetznerStorageBoxes = import (nixos-extra-modules + "/apps/setup-hetzner-storage-box.nix") {
inherit pkgs;
nixosConfigurations = self.nodes;
decryptIdentity = builtins.head self.secretsConfig.masterIdentities;
};
pkgs = import nixpkgs {
inherit system;