mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-07-06 16:12:33 +02:00
d233ae904f
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
40 lines
1.0 KiB
Nix
40 lines
1.0 KiB
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
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;
|
|
};
|
|
"Proton Calendar" = {
|
|
name = "Proton Calendar";
|
|
exec = ''${config.programs.helium.package}/bin/helium "https://calendar.proton.me"'';
|
|
icon = "proton-calendar";
|
|
type = "Application";
|
|
categories = ["Utility"];
|
|
terminal = false;
|
|
};
|
|
"Proton Mail" = {
|
|
name = "Proton Mail";
|
|
exec = ''${config.programs.helium.package}/bin/helium "https://mail.proton.me/"'';
|
|
icon = "proton-mail";
|
|
type = "Application";
|
|
categories = ["Utility"];
|
|
terminal = false;
|
|
};
|
|
};
|
|
}
|