diff --git a/home/hosts/work/default.nix b/home/hosts/work/default.nix index 6b712b5d..137bb656 100644 --- a/home/hosts/work/default.nix +++ b/home/hosts/work/default.nix @@ -81,6 +81,7 @@ git.github.enable = true; git.gitlab.enable = true; secrets.vault.enable = true; + bruno.enable = true; docker.enable = true; infra.enable = true; go.enable = true; diff --git a/home/modules/bruno/default.nix b/home/modules/bruno/default.nix index 9c606111..a5d8fe2f 100644 --- a/home/modules/bruno/default.nix +++ b/home/modules/bruno/default.nix @@ -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")) ]; }; }