1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 10:37:44 +00:00

feat: add best to resticHosts

This commit is contained in:
RGBCube 2025-02-27 20:45:56 +03:00
parent dc64d8ca60
commit 5c19fae7e7
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

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