updated instructions for integrating the flake

This commit is contained in:
Felix Salcher
2024-12-24 12:11:37 +01:00
parent bcac2202c9
commit 053867dee4

17
.github/README.md vendored
View File

@@ -13,24 +13,15 @@ inputs = {
}
```
## Packages
## Integration
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:
To integrate `Zen Browser` to your nixos configuration, add the following to your `environment.systemPackages` in `configuration.nix`:
```nix
inputs.zen-browser.packages."${system}".default
inputs.zen-browser.packages."${system}".specific
inputs.zen-browser.packages."${system}".generic
inputs.zen-browser.packages."${system}"
```
Depending on which version you want
Afterwards you can just build your configuration and start the `Zen Browser`
```shell
$ sudo nixos-rebuild switch