From 224fda32d1367c21b56e2702564e75cfa12943a8 Mon Sep 17 00:00:00 2001 From: Kate Temkin Date: Sat, 27 Apr 2024 20:37:30 -0600 Subject: [PATCH] install: tweak instructions --- content/install.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/content/install.md b/content/install.md index 90909a3b..24f89996 100644 --- a/content/install.md +++ b/content/install.md @@ -52,7 +52,7 @@ The easiest way to install Lix is to use the [Lix Installer](https://git.lix.sys Open a terminal, and run the following command: ```sh -$ curl -sSf -L https://install.lix.systems/lix | sh -s -- install +curl -sSf -L https://install.lix.systems/lix | sh -s -- install ``` The installer will guide you through installing Lix -- and once it's finished, @@ -70,16 +70,10 @@ of the `upgrade-nix` command.

-**If you have flakes enabled**, the following command should perform an upgrade: +Thanks to Nix, we can actually ask Lix to upgrade your system directly. Run the following command: ```sh -$ sudo nix run 'https://git.lix.systems/lix-project/lix' -- upgrade-nix -``` - -**If you don't have flakes enabled**, you can perform a slightly more complex command: - -```sh -$ ***TODO FIXME*** +sudo nix run --extra-experimental-features "nix-command flakes" "git+https://git.lix.systems/lix-project/lix" -- upgrade-nix ``` You should now have an upgraded version of Nix. You can verify this by asking Lix