Wrap protonmail-bridge-gui to force ignoring password-store

This commit is contained in:
Evie Litherland-Smith 2024-09-30 08:11:31 +01:00
parent bb2c14b964
commit d609b3116a

View file

@ -66,7 +66,19 @@
"steamcmd"
"nomachine-client"
];
overlays = [ (final: prev: { inherit (inputs.plasma-manager.packages.${prev.system}) rc2nix; }) ];
overlays = [
(final: prev: {
inherit (inputs.plasma-manager.packages.${prev.system}) rc2nix;
protonmail-bridge-gui = pkgs.symlinkJoin {
name = "protonmail-bridge-gui";
paths = [ prev.protonmail-bridge-gui ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/protonmail-bridge-gui --set PASSWORD_STORE_DIR /dev/null
'';
};
})
];
};
system = {
stateVersion = "23.05";