Add pam_honeypot
This commit is contained in:
parent
e206547823
commit
0fc4c2ef0c
7 changed files with 186 additions and 30 deletions
54
flake.nix
54
flake.nix
|
@ -2,34 +2,34 @@
|
|||
description = "a653rs-router";
|
||||
|
||||
inputs = {
|
||||
fenix = {
|
||||
url = "github:nix-community/fenix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { fenix, flake-utils, nixpkgs, ... }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
rustToolchain = with fenix.packages.${system}; combine [
|
||||
latest.rustc
|
||||
latest.cargo
|
||||
latest.clippy
|
||||
latest.rustfmt
|
||||
latest.rust-src
|
||||
latest.rust-analyzer
|
||||
targets.aarch64-unknown-uefi.latest.rust-std
|
||||
targets.i686-unknown-uefi.latest.rust-std
|
||||
targets.x86_64-unknown-uefi.latest.rust-std
|
||||
];
|
||||
in
|
||||
outputs =
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = [
|
||||
rustToolchain
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
flake-utils,
|
||||
nixpkgs,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachSystem [ "x86_64-linux" ] (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
pkgs.cargo
|
||||
pkgs.clang
|
||||
pkgs.clippy
|
||||
pkgs.pam
|
||||
pkgs.pkg-config
|
||||
pkgs.rustc
|
||||
pkgs.rustfmt
|
||||
pkgs.rust-analyzer
|
||||
pkgs.rustPlatform.bindgenHook
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue