19 lines
307 B
Nix
19 lines
307 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 ];
|
|
};
|
|
}
|