matrix-docker-ansible-deploy/flake.nix

31 lines
575 B
Nix
Raw Normal View History

2023-04-17 03:04:35 +08:00
{
2024-04-09 15:22:45 +08: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-17 03:04:35 +08:00
}