Burp client: Add options for client, SSL PW file

This commit is contained in:
fruchti 2023-03-12 14:39:34 +01:00
parent 3cab037898
commit 01161228da
2 changed files with 36 additions and 7 deletions

View file

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
let
definedInPersonalDotNix = lib.mkDefault (throw "Configuration option missing from personal.nix");
in
{
imports = [
./development.nix
@ -94,10 +91,10 @@ in
services.burp.client = {
enable = true;
password = definedInPersonalDotNix;
server = "rupert";
sslKeyPassword = definedInPersonalDotNix;
includes = [ "/etc/nixos" "/home" ];
passwordFile = "/secrets/burp_client_password";
sslKeyPasswordFile = "/secrets/burp_ssl_key_password";
encryptionPasswordFile = "/secrets/burp_encryption_password";
extraConfig = ''
working_dir_recovery_method = resume