Skip to content

codexlynx/nixos-gowitness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixos-gowitness

CI

An NixOS module for gowitness, a web screenshot service from Orange Cyberdefense (sensepost).

Usage example:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    gowitness.url = "github:codexlynx/nixos-gowitness";
  };

  outputs = { self, nixpkgs, gowitness }:
    {
      nixosConfigurations.default = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";

        modules = [
          gowitness.nixosModules.default
          {
            system.stateVersion = "25.05";

            users = {
              mutableUsers = false;
              users.root.password = "";
            };

            services.gowitness.enable = true;
          }
        ];
      };
    };
}
$ nix run .\#nixosConfigurations.default.config.system.build.vm

Run test:

$ nix run github:divnix/std#std -- //gowitness/tests/default:run

Languages