From 618b9d025cf5c0567d1755ac2cdf963894efffc9 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Tue, 17 Sep 2024 15:03:07 +0300 Subject: [PATCH] Nix/Hyprland on NixOS: fix kitty instructions --- pages/Nix/Hyprland on NixOS.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/Nix/Hyprland on NixOS.md b/pages/Nix/Hyprland on NixOS.md index 6bc3201..65bc1a3 100644 --- a/pages/Nix/Hyprland on NixOS.md +++ b/pages/Nix/Hyprland on NixOS.md @@ -34,10 +34,12 @@ Make sure to check out the options of the # configuration.nix { - programs = { - kitty.enable = true; # required for the default Hyprland config - hyprland.enable = true; # enable Hyprland - }; + programs.hyprland.enable = true; # enable Hyprland + + environment.systemPackages = [ + # ... other packages + pkgs.kitty # required for the default Hyprland config + ]; # Optional, hint Electron apps to use Wayland: # environment.sessionVariables.NIXOS_OZONE_WL = "1";