1
Fork 0
mirror of https://github.com/RGBCube/NCC synced 2025-05-14 03:54:59 +00:00

feat: don't back up to disk host

This commit is contained in:
RGBCube 2025-05-01 01:53:07 +03:00
parent c813fffb73
commit 63b5c41b96
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
{ config, lib, ... }: let
inherit (lib) genAttrs mkConst mkIf remove;
in{
options.services.restic.hosts = mkConst <| remove config.networking.hostName [ "disk" "nine" "best" ];
options.services.restic.hosts = mkConst remove config.networking.hostName [ "nine" "best" ];
config.secrets.resticPassword.file = mkIf config.isServer ./password.age;