mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-26 18:18:46 +08:00
10 lines
315 B
Nix
10 lines
315 B
Nix
{ pkgs, system, inputs, ... }:
|
|
let
|
|
himalaya = inputs.himalaya.outputs.defaultPackage.${system};
|
|
in
|
|
# Wrap himalaya to be aware of ProtonMail's bridge cert.
|
|
pkgs.writeScriptBin "himalaya" ''
|
|
#!${pkgs.stdenv.shell}
|
|
export SSL_CERT_FILE=~/.config/protonmail/bridge/cert.pem
|
|
exec ${himalaya}/bin/himalaya $*
|
|
''
|