From 608ed8b2ba0c48c67425e3dd761b89c1b6db75ec Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Thu, 9 May 2024 11:34:09 +0200 Subject: [PATCH 1/2] Remove ihp-new "Package not Found?" section from installation guide It's not needed anymore. Fixes https://github.com/digitallyinduced/ihp/issues/1952 --- Guide/installation.markdown | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Guide/installation.markdown b/Guide/installation.markdown index 74105db87..265594126 100644 --- a/Guide/installation.markdown +++ b/Guide/installation.markdown @@ -136,15 +136,7 @@ You can now install IHP by running: nix-env --install ihp-new ``` -If you use Home Manager or NixOS, you can also add `ihp-new` to the list of packages. - -#### Package not Found? - -The package has only been added to nixpkgs recently. In case you're using an older nixpkgs version, the package might not be available yet. In that case you can install `ihp-new` like this: - -```bash -nix-env -f https://downloads.digitallyinduced.com/ihp-new.tar.gz -i ihp-new -``` +If you use Home Manager or NixOS, you can also add `ihp-new` to the list of packages. If you use nix flakes, you likely want to run `nix profile install nixpkgs#ihp-new` instead. #### NixOS specific From de206e94807d3c00cb759ecb5ac0552c52ec9855 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Thu, 9 May 2024 11:34:37 +0200 Subject: [PATCH 2/2] Remove NixOS specific installation instructions These are not needed anymore --- Guide/installation.markdown | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Guide/installation.markdown b/Guide/installation.markdown index 265594126..21f6b6ec7 100644 --- a/Guide/installation.markdown +++ b/Guide/installation.markdown @@ -138,22 +138,6 @@ nix-env --install ihp-new If you use Home Manager or NixOS, you can also add `ihp-new` to the list of packages. If you use nix flakes, you likely want to run `nix profile install nixpkgs#ihp-new` instead. -#### NixOS specific - -If you get the following error during this step on NixOS: - -```bash -MustBeRoot "Run command as root OR execute: $ echo \"trusted-users = root $USER\" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon" -``` - -You have to add this to your NixOS configuration: - -```bash -nix.settings.trusted-users = [ "root" "USERNAME_HERE" ]; -``` - -[See the documentation for `nix.settings.trusted-users` to learn more about what this is doing](https://search.nixos.org/options?show=nix.settings.trusted-users&query=nix.settings.trusted-users). - #### GitHub Codespaces / VSCode Devcontainers To get started with IHP on [GitHub Codespaces](https://docs.github.com/en/codespaces/getting-started/quickstart), simply use the [Codespaces IHP Template](https://github.com/rvarun11/codespaces-ihp) to create a new GitHub repo. On the first start up, a new IHP boilerplate will be generated which you can commit.