flake/home/applications/telegram-desktop/default.nix

14 lines
232 B
Nix
Raw Normal View History

2024-02-26 18:03:00 +00:00
{
inputs,
pkgs,
...
}: {
home.packages = [
(
if pkgs.stdenv.hostPlatform.isDarwin
then inputs.nixcasks.legacyPackages.${pkgs.stdenv.hostPlatform.system}.telegram
else pkgs.telegram-desktop
)
];
}