NixOS/home/programs/mongodb-compass.nix

12 lines
289 B
Nix

{ 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 ];
};
}