nix-config/modules/features/programs/proton.nix
2026-04-15 18:26:05 -04:00

27 lines
686 B
Nix

{ ... }:
{
config.dendritic.features.proton.homeModules = [
(
{ pkgs, ... }:
{
home.packages = with pkgs; [
proton-vpn
proton-pass
proton-authenticator
];
# Fix Proton Authenticator desktop entry
xdg.desktopEntries = {
"Proton Authenticator" = {
name = "Proton Authenticator";
exec = "env WEBKIT_DISABLE_COMPOSITING_MODE=1 ${pkgs.proton-authenticator}/bin/proton-authenticator";
icon = "proton-authenticator";
type = "Application";
categories = [ "Utility" ];
terminal = false;
};
};
}
)
];
}