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.
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 importsecure-node.nix
like this:However, I get this error during
nixos-rebuild switch
:I'm not using backups, so I remove the line
./backups.nix
frommodules/modules.nix
I also remove the lineservices.backups.frequency = "daily";
frommodules/presets/secure-node.nix
After removing these lines, I was able to build from the configuration as expected.