diff --git a/pages/Nix/Options & Overrides.md b/pages/Nix/Options & Overrides.md index 3da0d27..8230194 100644 --- a/pages/Nix/Options & Overrides.md +++ b/pages/Nix/Options & Overrides.md @@ -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. diff --git a/pages/Nix/_index.md b/pages/Nix/_index.md index 1a81cb3..0383a11 100644 --- a/pages/Nix/_index.md +++ b/pages/Nix/_index.md @@ -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).