diff --git a/pages/Nix/Hyprland on Home Manager.md b/pages/Nix/Hyprland on Home Manager.md index 46ed50a..de50ba7 100644 --- a/pages/Nix/Hyprland on Home Manager.md +++ b/pages/Nix/Hyprland on Home Manager.md @@ -28,7 +28,11 @@ For a list of available options, check the ```nix { - wayland.windowManager.hyprland.enable = true; + programs.kitty.enable = true; # required for the default Hyprland config + wayland.windowManager.hyprland.enable = true; # enable Hyprland + + # Optional, hint Electron apps to use Wayland: + # home.sessionVariables.NIXOS_OZONE_WL = "1"; } ``` diff --git a/pages/Nix/Hyprland on NixOS.md b/pages/Nix/Hyprland on NixOS.md index 2ccd2fb..b73719a 100644 --- a/pages/Nix/Hyprland on NixOS.md +++ b/pages/Nix/Hyprland on NixOS.md @@ -34,7 +34,13 @@ Make sure to check out the options of the # configuration.nix { - programs.hyprland.enable = true; + programs = { + kitty.enable = true; # required for the default Hyprland config + hyprland.enable = true; # enable Hyprland + }; + + # Optional, hint Electron apps to use Wayland: + # environment.sessionVariables.NIXOS_OZONE_WL = "1"; } ```