Benjamin Bädorf
6fc5b2553c
All checks were successful
continuous-integration/drone/push Build is passing
34 lines
564 B
Nix
34 lines
564 B
Nix
{
|
|
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 = [
|
|
fwknop
|
|
croc
|
|
drone-cli
|
|
nmap
|
|
pgcli
|
|
ansible
|
|
ansible-lint
|
|
restic
|
|
shellcheck
|
|
terraform
|
|
tea
|
|
];
|
|
};
|
|
};
|
|
}
|