Skip to content

Commit

Permalink
feat(nix): enable argocd client
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Apr 1, 2024
1 parent 4b94e3c commit b11b573
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions nix/homes/aarch64-darwin/sab@mbp13/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ with lib.custom; {
};

cli-apps = {
argocd = enabled;
atuin = enabled;
bottom = enabled;
home-manager = enabled;
Expand Down
1 change: 1 addition & 0 deletions nix/homes/x86_64-linux/sab@nz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ with lib.custom; {
};

cli-apps = {
argocd = enabled;
atuin = enabled;
bottom = enabled;
fastfetch = enabled;
Expand Down
20 changes: 20 additions & 0 deletions nix/modules/home/cli-apps/argocd/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;

cfg = config.custom.cli-apps.argocd;
in {
options.custom.cli-apps.argocd = {
enable = mkEnableOption "argocd";
};

config = mkIf cfg.enable {
home.packages = with pkgs; [
argocd
];
};
}

0 comments on commit b11b573

Please sign in to comment.