From 3f804affcfb174c66185567deb42e910ccb594da Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 12 Jan 2026 22:15:14 +0100 Subject: [PATCH] nix: add more info for hyprnix --- content/Nix/Hyprland on other distros.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/content/Nix/Hyprland on other distros.md b/content/Nix/Hyprland on other distros.md index 613ca697..5f63f35c 100644 --- a/content/Nix/Hyprland on other distros.md +++ b/content/Nix/Hyprland on other distros.md @@ -6,10 +6,16 @@ weight: 4 If you use Nix on distros other than NixOS, you can still use Hyprland. The best option for advanced users would be through [Home Manager](../Hyprland-on-Home-Manager). -However, if Home Manager is not for you, Hyprland can be installed as a normal -package. -First, [enable flakes](https://nixos.wiki/wiki/Flakes#Enable_flakes), then, once you -have flakes working, install Hyprland through `nix profile`: +However, for most people, Home Manager is too complicated and not worth it outside NixOS. In those cases, +Hyprland can be installed as a normal package. +First, install nix with your system's package manager (usually just called `nix`), +then [enable flakes](https://nixos.wiki/wiki/Flakes#Enable_flakes), by adding this to `/etc/nix/nix.conf` or `~/.config/nix/nix.conf`: + +```ini +experimental-features = nix-command flakes +``` + +once that is done, install Hyprland through `nix profile`: {{< tabs items="From Nixpkgs,From the Flake,From hyprnix (Experimental)" >}}