NixOS/home/programs/mongodb-compass.nix

12 lines
289 B
Nix
Raw Normal View History

2024-07-19 12:14:52 +07:00
{ config, lib, unstable, ... }:
let
cfg = config.profile.programs.mongodb-compass;
sopsFile = ../../secrets/bareksa.yaml;
in
{
config = lib.mkIf cfg.enable {
sops.secrets."bareksa/mongodb-compass" = { inherit sopsFile; };
home.packages = [ unstable.mongodb-compass ];
};
}