forked from pub-solar/os
26 lines
485 B
Nix
26 lines
485 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 = [
|
|
drone-cli
|
|
nmap
|
|
pgcli
|
|
python38Packages.ansible
|
|
restic
|
|
shellcheck
|
|
terraform_0_15
|
|
];
|
|
};
|
|
};
|
|
}
|