all repos — circe-vpn @ 3b4c48a245b07961416bcaa32196c999f52cc69a

Circe VPN

flake.nix (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
{
  description = "Circe Build Environment";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-26.05";
    esp32-overlay.url = "github:mirrexagon/nixpkgs-esp-dev";
  };

  outputs =
    {
      self,
      nixpkgs,
      esp32-overlay,
      ...
    }@inputs:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
      main_shl = pkgs.mkShell {
        name = "circe-tooling-env-aphrodite";
        packages =
          (with pkgs; [
            meson
            ninja
            just
            gcc
            pkgsCross.aarch64-multiplatform-musl.gcc
            clang-tools
            valgrind
            bear
            tokei
            ruby
            just-lsp
            just-formatter
          ]);
        NIX_ENFORCE_NO_NATIVE = 0;
        hardeningDisable = [ "fortify" ];
      };
    in
    {
      devShells.${system} = {
        default = main_shl;
      };
    };
}