Nix files for installing Yandex Browser on NixOS
Warning! Yandex removes old releases from its repository, so always use the new version of this repository
Use cachix cache for faster builds: https://app.cachix.org/cache/yandex-browser-nix#pull
- Using
nix profile
:
# Stable version
nix profile install github:miuirussia/yandex-browser.nix#yandex-browser-stable
# Beta version
nix profile install github:miuirussia/yandex-browser.nix#yandex-browser-beta
- Add to your flake inputs:
{
inputs = {
nixpkgs = { url = "..."; };
yandex-browser = { url = "github:miuirussia/yandex-browser.nix"; inputs.nixpkgs.follows = "nixpkgs"; };
};
}
Run nix flake lock --update-input yandex-browser
before rebuild to get new versions and hashes.
- Using old nix:
yandex-browser = import (fetchTarball "https://github.com/miuirussia/yandex-browser.nix/archive/master.tar.gz");
# Stable version
yandex-browser.packages.x86_64-linux.yandex-browser-stable;
# Beta version
yandex-browser.packages.x86_64-linux.yandex-browser-stable;