This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{
|
||||
description = "infrastructure environment";
|
||||
|
||||
inputs = {
|
||||
# lib
|
||||
nixpkgs.url = github:nixos/nixpkgs;
|
||||
flake-utils.url = github:numtide/flake-utils;
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
pkgs.python3Packages.ansible
|
||||
pkgs.python3Packages.ansible-lint
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
PS1="(infra) $PS1"
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user