nixos/home-manager/software/ansible/default.nix

20 lines
535 B
Nix
Raw Normal View History

2022-01-20 14:14:18 +01:00
{ pkgs, ... }:
{
home = {
# NPM is required for the language server which I currently can only
2023-04-27 09:25:27 +02:00
# install through npm because the version in Nix is broken 2023-04-27
sessionPath = [ "$HOME/.local/share/node_modules/bin" ];
sessionVariables = {
NPM_CONFIG_PREFIX = "$HOME/.local/share/node_modules";
};
packages = with pkgs; [
sshpass # it's the only system package that I need to run Ansible
];
};
2023-05-01 19:37:39 +02:00
programs.emacs = {
extraPackages = epkgs: with pkgs;[
epkgs.ansible
];
};
2022-01-20 14:14:18 +01:00
}