fort-nix / nix-bitcoin

A collection of Nix packages and NixOS modules for easily installing full-featured Bitcoin nodes with an emphasis on security.
https://nixbitcoin.org
MIT License
512 stars 108 forks source link

error: The option `services.duplicity.includeFileList' does not exist. #729

Closed nullcount closed 3 months ago

nullcount commented 3 months ago

I believe this is a bug, maybe duplicity config option has been renamed.

I had no issues deploying with krops. However, I wanted to try to deploy as a module.

I cloned this repo into /etc/nixos

I modified the /etc/nixos/configuration.nix to import secure-node.nix like this:

imports = [
    ./nix-bitcoin/modules/presets/secure-node.nix
    ./hardware-configuration.nix
  ];

However, I get this error during nixos-rebuild switch:

error: The option `services.duplicity.includeFileList' does not exist. Definition values:
       - In `/etc/nixos/nix-bitcoin/modules/backups.nix':
           {
             _type = "if";
             condition = false;
             content = "/nix/store/j1wsk8vz54jlqib2cnfiw8bbczrr1iyz-filelist.txt";
           }

I'm not using backups, so I remove the line./backups.nix from modules/modules.nix I also remove the line services.backups.frequency = "daily"; from modules/presets/secure-node.nix

After removing these lines, I was able to build from the configuration as expected.

erikarvstedt commented 3 months ago

Duplicate of #725.