32 lines
590 B
Nix
32 lines
590 B
Nix
{
|
|
description = "Devshel for Ansible";
|
|
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
flake-utils = {
|
|
url = "github:numtide/flake-utils";
|
|
};
|
|
};
|
|
|
|
outputs = { nixpkgs , flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
devShells = {
|
|
default = pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
lefthook
|
|
go-task
|
|
convco
|
|
typos
|
|
ansible
|
|
];
|
|
shellHook = ''
|
|
'';
|
|
};
|
|
};
|
|
});
|
|
}
|