Hyprland: Difference between revisions
Added {{outdated}} banner: configuration is done in Lua starting from v0.55. Note: banner adapted from ArchWiki <3 |
m →Nix on Non-NixOS Systems: use syntaxHighlight lang=console and the "$" prefix for shell commands |
||
| Line 33: | Line 33: | ||
Firstly, enable [https://wiki.nixos.org/wiki/Flakes#Other_Distros,_without_Home-Manager flakes] in your Nix installation. Then install Hyprland through <code>nix profile</code>: | Firstly, enable [https://wiki.nixos.org/wiki/Flakes#Other_Distros,_without_Home-Manager flakes] in your Nix installation. Then install Hyprland through <code>nix profile</code>: | ||
<syntaxHighlight lang= | <syntaxHighlight lang=console> | ||
nix profile install nixpkgs#hyprland | $ nix profile install nixpkgs#hyprland | ||
</syntaxHighlight> | </syntaxHighlight> | ||
In order for Hyprland to find graphics drivers on a non-NixOS system, you will need to install [[nixGL]]: | In order for Hyprland to find graphics drivers on a non-NixOS system, you will need to install [[nixGL]]: | ||
<syntaxHighlight lang= | <syntaxHighlight lang=console> | ||
nix profile install github:nix-community/nixGL --impure | $ nix profile install github:nix-community/nixGL --impure | ||
</syntaxHighlight> | </syntaxHighlight> | ||
Now you can run Hyprland by invoking it with NixGL: | Now you can run Hyprland by invoking it with NixGL: | ||
<syntaxHighlight lang= | <syntaxHighlight lang=console> | ||
nixGL Hyprland | $ nixGL Hyprland | ||
</syntaxHighlight> | </syntaxHighlight> | ||