mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 18:55:47 +02:00
ac0a706f1c
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
36 lines
807 B
Nix
36 lines
807 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
home.packages = with pkgs; [
|
|
proton-vpn
|
|
proton-pass
|
|
];
|
|
|
|
# Fix Proton Authenticator desktop entry
|
|
xdg.desktopEntries = {
|
|
"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;
|
|
};
|
|
};
|
|
|
|
home.persistence."/persist".directories = [
|
|
".config/protonvpn"
|
|
".config/Proton Pass"
|
|
];
|
|
}
|