feat(bruno): add enable option

This commit is contained in:
2026-05-22 09:51:30 +02:00
parent a9ae884349
commit adce0a0872
2 changed files with 16 additions and 3 deletions

View File

@@ -81,6 +81,7 @@
git.github.enable = true; git.github.enable = true;
git.gitlab.enable = true; git.gitlab.enable = true;
secrets.vault.enable = true; secrets.vault.enable = true;
bruno.enable = true;
docker.enable = true; docker.enable = true;
infra.enable = true; infra.enable = true;
go.enable = true; go.enable = true;

View File

@@ -1,7 +1,19 @@
{ config, pkgs, ... }:
{ {
config = { config,
lib,
pkgs,
...
}:
let
cfg = config.bruno;
in
{
options.bruno = {
enable = lib.mkEnableOption "Bruno";
};
config = lib.mkIf cfg.enable {
home.packages = [ (config.nixgl.wrap (config.wrapApp pkgs.bruno "--no-sandbox")) ]; home.packages = [ (config.nixgl.wrap (config.wrapApp pkgs.bruno "--no-sandbox")) ];
}; };
} }