pub-solar-os/modules/devops/default.nix

26 lines
485 B
Nix
Raw Normal View History

2021-05-30 19:10:28 +00:00
{ lib, config, pkgs, ... }:
with lib;
let
psCfg = config.pub-solar;
cfg = config.pub-solar.devops;
in
{
options.pub-solar.devops = {
enable = mkEnableOption "Life automated";
};
config = mkIf cfg.enable {
home-manager = with pkgs; pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
home.packages = [
drone-cli
nmap
2022-01-05 22:17:09 +00:00
pgcli
2021-05-30 19:10:28 +00:00
python38Packages.ansible
restic
shellcheck
terraform_0_15
];
};
};
}