Nix: document more override flags

This commit is contained in:
Mihai Fufezan 2023-11-27 13:36:33 +02:00
parent aeeb0f5e0b
commit 3c82b489ab
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View file

@ -11,7 +11,9 @@ can be changed by setting the appropriate option to `true`/`false`.
```nix
(pkgs.hyprland.override { # or inputs.hyprland.packages.${pkgs.system}.hyprland
enableXWayland = true;
enableXWayland = true; # whether to enable XWayland
legacyRenderer = false; # whether to use the legacy renderer (for old GPUs)
withSystemd = true; # whether to build with systemd support
})
```
@ -43,7 +45,7 @@ you can do it like this
```nix
$ nix repl
nix-repl> :lf "github:hyprwm/Hyprland"
nix-repl> :bl outputs.packages.x86_64-linux.hyprland.override
nix-repl> :bl outputs.packages.x86_64-linux.hyprland.override { /* flag here */ }
```
Then you can run Hyprland from the built path.

View file

@ -27,3 +27,7 @@ For other NixOS options, see [Hyprland on NixOS](./Hyprland-on-NixOS).
## Home-manager module
Read [Hyprland on Home Manager](./Hyprland-on-Home-Manager).
## Options and overrides
Read [Options & Overrides](./Options-Overrides).