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 = [
|
2023-04-21 09:20:23 +00:00
|
|
|
fwknop
|
2023-01-28 21:27:52 +00:00
|
|
|
croc
|
2021-05-30 19:10:28 +00:00
|
|
|
drone-cli
|
|
|
|
nmap
|
2022-01-05 22:17:09 +00:00
|
|
|
pgcli
|
2022-01-31 16:34:08 +00:00
|
|
|
ansible
|
|
|
|
ansible-lint
|
2021-05-30 19:10:28 +00:00
|
|
|
restic
|
|
|
|
shellcheck
|
2023-01-28 20:40:44 +00:00
|
|
|
terraform
|
2023-01-28 21:27:52 +00:00
|
|
|
tea
|
2021-05-30 19:10:28 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|