20 lines
468 B
Nix
20 lines
468 B
Nix
let
|
|
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
|
|
pkgs = import nixpkgs { config = {}; overlay = []; };
|
|
python-packages = ps: with ps; [
|
|
ansible
|
|
ansible-core
|
|
jinja2
|
|
requests
|
|
proxmoxer
|
|
];
|
|
in
|
|
pkgs.mkShell {
|
|
name = "Ansible perso";
|
|
packages = with pkgs; [
|
|
(python3.withPackages python-packages)
|
|
];
|
|
|
|
ANSIBLE_FORCE_COLOR = true;
|
|
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
|
}
|