mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 10:47:32 +01:00
31 lines
575 B
Nix
31 lines
575 B
Nix
{
|
|
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)"
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
}
|