diff --git a/hosts/burp-server.nix b/hosts/burp-server.nix index 39c5502..7e551ab 100644 --- a/hosts/burp-server.nix +++ b/hosts/burp-server.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: { services.burp.server = { enable = true; @@ -27,21 +27,4 @@ "Mon,Tue,Wed,Thu,Fri,Sat,Sun,00,01,02,03,04,05,06,07,08,17,18,19,20,21,22,23" ]; }; - - # Used for other clients to open an SSH tunnel to the burp server - users.users.burp-remote = { - isNormalUser = false; - isSystemUser = true; - createHome = false; - group = "nogroup"; - # A shell is necessary for the user to run `sleep` - shell = pkgs.bash; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItwImll4vcrfRQZjf6zkEGJswpL9EdWRiibXtjis99J root@Emitter" - ]; - }; - services.openssh.extraConfig = '' - Match User burp-remote - ForceCommand ${pkgs.coreutils}/bin/sleep 10 - ''; } diff --git a/options/burp.nix b/options/burp.nix index 2ced16f..0b598fb 100644 --- a/options/burp.nix +++ b/options/burp.nix @@ -51,7 +51,7 @@ let default_days = 7300 default_crl_days = 7300 - #???? +#???? name_opt = ca_default cert_opt = ca_default