From a8408557d593267260c47bcd275e7c71f00ae6a1 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sat, 31 Aug 2024 12:28:06 +0300 Subject: [PATCH] Nix: include kitty in code snippets --- pages/Nix/Hyprland on Home Manager.md | 6 +++++- pages/Nix/Hyprland on NixOS.md | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) 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"; } ```