diff --git a/configs/nixos/cyberchef.nix b/configs/nixos/cyberchef.nix new file mode 100644 index 0000000..97b47a9 --- /dev/null +++ b/configs/nixos/cyberchef.nix @@ -0,0 +1,13 @@ +{ + inputs, + config, + pkgs, + lib, + ... +}: { + services.nginx.virtualHosts."cyberchef.venberg.xyz" = { + enableACME = true; + forceSSL = true; + root = "${pkgs.cyberchef}/share/cyberchef"; + }; +} diff --git a/configs/nixos/homepage.nix b/configs/nixos/homepage.nix index 074fa3c..8c1b06c 100644 --- a/configs/nixos/homepage.nix +++ b/configs/nixos/homepage.nix @@ -122,6 +122,14 @@ in { description = "Non self hosted Git forge :("; }; } + { + Cyberchef = { + icon="sh-cyberchef.svg"; + href="https://cyberchef.venberg.xyz"; + siteMonitor= "cyberchef.venberg.xyz"; + description= "a data toolbox"; + }; + } ]; } ]; diff --git a/hosts/cirrostratus/default.nix b/hosts/cirrostratus/default.nix index 1b0b52d..46d6945 100644 --- a/hosts/cirrostratus/default.nix +++ b/hosts/cirrostratus/default.nix @@ -23,6 +23,7 @@ inputs.nixpkgs.lib.nixosSystem { ../../configs/nixos/syncthing.nix ../../configs/nixos/grocy.nix ../../configs/nixos/factorio-docker.nix + ../../configs/nixos/cyberchef.nix ({ config, pkgs,