forked from irl/nix-configs
feat: refactor home-manager configs
This commit is contained in:
parent
442c9051ba
commit
fca82b60ce
13 changed files with 355 additions and 150 deletions
22
modules/home-manager/ops/ops.nix
Normal file
22
modules/home-manager/ops/ops.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.feature.ops;
|
||||
in
|
||||
{
|
||||
options.feature.ops = {
|
||||
enable = lib.mkEnableOption "Setup DevOps tools";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
age
|
||||
awscli2
|
||||
opentofu
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue