repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
parts.nixNix23 lines1,022 Braw download
# modules/parts.nix — flake-parts wiring shared by every module under modules/.
{ inputs, ... }:
{
  # aarch64-linux is here for the generic host (modules/hosts/generic) on ARM:
  # it needs the wrapped niri/noctalia packages built for that system.
  systems = [ "x86_64-linux" "aarch64-linux" ];

  # aarch64 is here only for the generic host's desktop packages (niri,
  # noctalia, gradia). The checks are the toolkit's x86_64 test suite — VM
  # tests, and smoke tests of tools such as neo4j and aapt that only exist for
  # x86_64 — and so are the dev shells; on aarch64 they would only fail
  # `nix flake check --all-systems`. They stay x86_64-only.
  perSystem =
    { system, lib, ... }:
    lib.mkIf (system == "aarch64-linux") {
      checks = lib.mkForce { };
      devShells = lib.mkForce { };
    };
  imports = [
    inputs.home-manager.flakeModules.home-manager # flake.homeModules / flake.homeConfigurations
    inputs.wrapper-modules.flakeModules.default # flake.wrappers, perSystem.wrappers
  ];
}