mirror of
https://github.com/Cian-H/zen-browser-flake.git
synced 2025-12-22 21:41:57 +00:00
feat: Add specific and generic versions of the package
This commit is contained in:
15
README.md
15
README.md
@@ -11,12 +11,25 @@ inputs = {
|
||||
}
|
||||
```
|
||||
|
||||
Then in the `configuration.nix` in the `environment.systemPackages` add
|
||||
## Packages
|
||||
|
||||
This flake exposes two packages, corresponding to the `specific` and `generic` zen versions.
|
||||
The generic version maximizes compatibility with old CPUs and kernels by compiling it with some
|
||||
lower common denominator CFLAGS, the `specific` one targets newer CPUs and kernels but it may not
|
||||
work in your case.
|
||||
|
||||
The `default` package is the `specific` one for backwards compatibility with older versions of the flake.
|
||||
|
||||
Then in the `configuration.nix` in the `environment.systemPackages` add one of:
|
||||
|
||||
```nix
|
||||
inputs.zen-browser.packages."${system}".default
|
||||
inputs.zen-browser.packages."${system}".specific
|
||||
inputs.zen-browser.packages."${system}".generic
|
||||
```
|
||||
|
||||
Depending on which version you want
|
||||
|
||||
```shell
|
||||
$ sudo nixos-rebuild switch
|
||||
$ zen
|
||||
|
||||
Reference in New Issue
Block a user