feat: added proton-pass and updated proton-vpn

This commit is contained in:
Leyla Becker 2026-04-12 13:14:01 -05:00
parent d661421821
commit 0e55f5d40a
5 changed files with 82 additions and 7 deletions

View file

@ -0,0 +1,31 @@
{...}: {
flake.homeModules.home-manager-proton-pass = {
lib,
pkgs,
config,
...
}: let
cfg = config.programs.proton-pass;
in {
options.programs.proton-pass = {
enable = lib.mkEnableOption "enable Proton Pass";
};
config = lib.mkIf cfg.enable (lib.mkMerge [
{
home.packages = with pkgs; [
proton-pass
];
}
(
lib.mkIf config.impermanence.enable {
home.persistence."${config.impermanence.persistencePath}" = {
directories = [
"${config.xdg.configHome}/Proton Pass"
];
};
}
)
]);
};
}