matrix-docker-ansible-deploy/flake.nix

31 lines
575 B
Nix
Raw Normal View History

2023-04-16 21:04:35 +02:00
{
2024-04-09 09:22:45 +02: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 21:04:35 +02:00
}