moved more packages to module

This commit is contained in:
Leyla Becker 2025-06-03 11:19:34 -05:00
parent eca8dfcf69
commit 7473ad5415
4 changed files with 83 additions and 33 deletions

View file

@ -0,0 +1,24 @@
{
lib,
pkgs,
config,
osConfig,
...
}: {
options.programs.bruno = {
enable = lib.mkEnableOption "enable bruno";
};
config = lib.mkIf config.programs.bruno.enable (lib.mkMerge [
{
home.packages = with pkgs; [
bruno
];
}
(
lib.mkIf osConfig.host.impermanence.enable {
# TODO: map impermanence for bruno
}
)
]);
}

View file

@ -0,0 +1,24 @@
{
lib,
pkgs,
config,
osConfig,
...
}: {
options.programs.dbeaver-bin = {
enable = lib.mkEnableOption "enable dbeaver";
};
config = lib.mkIf config.programs.dbeaver-bin.enable (lib.mkMerge [
{
home.packages = with pkgs; [
dbeaver-bin
];
}
(
lib.mkIf osConfig.host.impermanence.enable {
# TODO: map impermanence for dbeaver
}
)
]);
}

View file

@ -13,5 +13,7 @@
./idea.nix
./protonvpn.nix
./calibre.nix
./bruno.nix
./dbeaver.nix
];
}