Skip to content

Repository files navigation

Ayugram desktop 🌐 NixOS flake

GitHub repo size

GitHub License

Tip

NEW!!! ayugram-desktop is already in nixpkgs but it's an override for telegram-desktop, so ndfined-crp/ayugram-desktop flake is still better, because we don't rely on telegram-desktop being able to build - and we won't push a broken update.

Note

We do have binary cache via Garnix CI. In case you'll setup it manually - make sure to rebuild with activated cache BEFORE adding ayugram your packages.

Warning

Any other architecture than Linux is NOT SUPPORTED:

Q: Why? A: We don't have any device to test it!

Q: Can I help it? A: YES!! If you are user of this kind of system you can become maintainer to add support for your architecture!

☄️ Installation Instructions

  1. You'll need to add this repo into your flake.nix:

    {
      inputs = {
        nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
        ayugram-desktop = {
          type = "git";
          submodules = true;
          url = "https://github.com/ndfined-crp/ayugram-desktop/";
         };
      };
    
      outputs = {
        self,
        nixpkgs,
        ayugram-desktop,
        ...
      }: {
        ...
      };
    }
  2. After that, add package into your environment.systemPackages or home.packages:

    # Nixos configuraion
    {
      pkgs,
      inputs,
      ...
    }: {
      environment.systemPackages = with pkgs; [
        inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop
      ];
    }
    # Home-manager configuration
    {
      pkgs,
      inputs,
      ...
    }: {
      home.packages = with pkgs; [
        inputs.ayugram-desktop.packages.${pkgs.system}.ayugram-desktop
      ];
    }
  3. Now rebuild, and feel free to use ayugram-desktop!

⚡ Manual Binary Cache Setup

Simpy add it into your nix settings inside nixos configuration:

nix = {
  settings = {
    substituters = [
      "https://cache.garnix.io"
      "https://ayugram-desktop.cachix.org"
    ];
    trusted-public-keys = [
      "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
      "ayugram-desktop.cachix.org:AZ5EqHrJsAKL5YkZYLPEsb1FdD9QlypUwQ0REcJftgA="
    ];
  };
};

🪐 P.S.:

Thanks to
🪐 shwewo for original repo.
🪐 kaeeraa for fork adoption.
🪐 AyuGram for the AyuGramDesktop itself.
🪐 hand7s for this awesome readme (:D) and some work with package format.

Releases

Packages

Contributors

Languages