mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
Nix: document more override flags
This commit is contained in:
parent
aeeb0f5e0b
commit
3c82b489ab
2 changed files with 8 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Reference in a new issue