matrix-docker-ansible-deploy/flake.nix

31 lines
575 B
Nix
Raw Normal View History

2023-04-16 19:04:35 +00:00
{
2024-04-09 07:22:45 +00:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem
(
system: let
pkgs = import nixpkgs {
inherit system;
};
in
with pkgs; {
devShells.default = mkShell {
buildInputs = [
just
ansible
];
shellHook = ''
echo "$(ansible --version)"
'';
};
}
);
2023-04-16 19:04:35 +00:00
}