From 92b9c4408b10ea412e6d48d7a760cd0a15fa1c1e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 19 Jun 2024 14:52:28 +0200 Subject: [PATCH] doc: update tag and version from `2.90-beta1` to `2.90.0-rc1` --- content/add-to-config.md | 28 ++++++++++++++-------------- content/install.md | 16 ++++++++-------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/content/add-to-config.md b/content/add-to-config.md index c3cb6cd1..c8e325ba 100644 --- a/content/add-to-config.md +++ b/content/add-to-config.md @@ -20,10 +20,10 @@ Adding Lix to a flake-based configuration is relatively simple. First, add the L # Add this section to your flake inputs! # # Note that this assumes you have a flake-input called nixpkgs, - # which is often the case. If you've named it something else, + # which is often the case. If you've named it something else, # you'll need to change the `nixpkgs` below. lix = { - url = "git+https://git.lix.systems/lix-project/lix?ref=refs/tags/2.90-beta.1"; + url = "git+https://git.lix.systems/lix-project/lix?ref=refs/tags/2.90.0-rc1"; flake = false; }; lix-module = { @@ -78,7 +78,7 @@ Add the Lix _NixOS Module_ to your configuration: } ``` -Finally, if you'd prefer not to build Lix yourself, you can add our binary cache. +Finally, if you'd prefer not to build Lix yourself, you can add our binary cache. Add the following to any NixOS module in your configuration (e.g. `configuration.nix`): ```nix @@ -98,7 +98,7 @@ You should now be using Lix! You can verify this by asking the `nix` command to ```sh $ nix --version -nix (Lix, like Nix) 2.90.0-beta.1 +nix (Lix, like Nix) 2.90.0-rc1-lixpre20240615-253546d ``` As long as you see `Lix` in the output, you're good! If you're not sure what to do now, it's a @@ -111,7 +111,7 @@ If you're not using flakes, you can set up your configuration to automatically p Lix release tarball, and then add it to your `configuration.nix`. Open your `/etc/nixos/configuration.nix` in the editor of your choice. Find the `imports` -section, and add the line provided in the configuration +section, and add the line provided in the configuration This section is currently pending on a quick update. @@ -128,17 +128,17 @@ section, and add the line provided in the configuration # This is the core line -- it pulls down the Lix module and # includes it in your configuration. It looks much nicer with a let - # binding -- but for clarity, we'll leave that as an exercise for the + # binding -- but for clarity, we'll leave that as an exercise for the # reader. :) # # Note that the tag (e.g. v2.90) in the URL here is what determines # which version of Lix you'll wind up with. - (import + (import ( (fetchTarball { url = "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz"; }) + "/module.nix" - ) - { - lix = fetchTarball { url = "https://git.lix.systems/lix-project/lix/archive/2.90-beta.1.tar.gz"; }; + ) + { + lix = fetchTarball { url = "https://git.lix.systems/lix-project/lix/archive/2.90.0-rc1.tar.gz"; }; } ) ]; @@ -147,7 +147,7 @@ section, and add the line provided in the configuration } ``` -Finally, if you'd prefer not to build Lix yourself, you can add our binary cache. +Finally, if you'd prefer not to build Lix yourself, you can add our binary cache. Add the following to any NixOS module in your configuration (e.g. `configuration.nix`): ```nix @@ -167,7 +167,7 @@ You should now be using Lix! You can verify this by asking the `nix` command to ```sh $ nix --version -nix (Lix, like Nix) 2.90.0-beta.1 +nix (Lix, like Nix) 2.90.0-rc1-lixpre20240615-253546d ``` As long as you see `Lix` in the output, you're good! If you're not sure what to do now, it's a @@ -175,8 +175,8 @@ great time to check out some of the [community's resources on Nix](/resources). ## Having Trouble? -**One quick thing to check:** have you set `nix.package` anywhere in your configuration? -If so, your configuration option will override the Lix module. You'll want to remove it, first -- +**One quick thing to check:** have you set `nix.package` anywhere in your configuration? +If so, your configuration option will override the Lix module. You'll want to remove it, first -- or, if you're feeling savvy, point it to the provided Lix package. **Otherwise:** If you're having difficulty installing Lix, don't panic! Hop on over to our diff --git a/content/install.md b/content/install.md index c41f6622..bc6b3d28 100644 --- a/content/install.md +++ b/content/install.md @@ -8,7 +8,7 @@ author: "Lix Team" Whether you're a new or returning user, **we're thrilled you've decided to pick up Lix!** Lix works out-of-the-box on most Linux and MacOS systems, including with system management tools -such as [home-manager](https://github.com/nix-community/home-manager) and +such as [home-manager](https://github.com/nix-community/home-manager) and [nix-darwin](https://github.com/LnL7/nix-darwin) -- but, like any Nix-based system, some Nix background knowledge is recommended before installation. @@ -18,9 +18,9 @@ first, to get familiar with how Nix works. ## On NixOS -If you haven't already installed NixOS, do so using any upstream -[install image](https://nixos.org/download/#NixOS) and the instructions in the -[NixOS Manual](https://nixos.org/manual/nixos/stable/#sec-installation). Then, follow +If you haven't already installed NixOS, do so using any upstream +[install image](https://nixos.org/download/#NixOS) and the instructions in the +[NixOS Manual](https://nixos.org/manual/nixos/stable/#sec-installation). Then, follow the instructions for either: - [flake-based configurations](/add-to-config#flake-based-configurations); or @@ -43,7 +43,7 @@ depending on how you prefer to configure your system. ## On Any Other Linux/MacOS System -You can either perform a **new install**, or choose to +You can either perform a **new install**, or choose to **upgrade an existing install** to Lix. ### New Installs @@ -55,7 +55,7 @@ Open a terminal, and run the following command: curl -sSf -L https://install.lix.systems/lix | sh -s -- install ``` -The installer will guide you through installing Lix -- and once it's finished, +The installer will guide you through installing Lix -- and once it's finished, you'll have a full, working installation. If you're not sure what to do, now is a great time to check out some of the [community's resources on Nix](/resources). @@ -72,7 +72,7 @@ Thanks to Nix, we can actually ask Lix to upgrade your system directly. Run the sudo --preserve-env=PATH nix run \ --experimental-features "nix-command flakes" \ --extra-substituters https://cache.lix.systems --extra-trusted-public-keys "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" \ - 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90-beta.1' -- \ + 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90.0-rc1' -- \ upgrade-nix \ --extra-substituters https://cache.lix.systems --extra-trusted-public-keys "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" ``` @@ -82,7 +82,7 @@ to report its version: ```sh $ nix --version -nix (Lix, like Nix) 2.90.0-beta.1 +nix (Lix, like Nix) 2.90.0-rc1-lixpre20240615-253546d ``` As long as you see `Lix` in the output, you're good! If you're not sure what to do now, it's a