feat: add husky host
This commit is contained in:
parent
2c0562ab30
commit
0f49cae653
1 changed files with 29 additions and 0 deletions
29
hosts/husky
Normal file
29
hosts/husky
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
description = "Nix on Debian config";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }:
|
||||
let
|
||||
system = "aarch64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in {
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
git
|
||||
curl
|
||||
];
|
||||
};
|
||||
|
||||
packages.${system}.default = pkgs.buildEnv {
|
||||
name = "my-env";
|
||||
paths = [
|
||||
pkgs.htop
|
||||
pkgs.jq
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue