From d4c660d24e2891c656be979d0de5cab66b045fc8 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 12 May 2026 15:31:08 +0000 Subject: Document Nix flake usage without root --- blog/content/notes/tech/misc-linux-stuff.gmi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/blog/content/notes/tech/misc-linux-stuff.gmi b/blog/content/notes/tech/misc-linux-stuff.gmi index a5521f1f..fd881dac 100644 --- a/blog/content/notes/tech/misc-linux-stuff.gmi +++ b/blog/content/notes/tech/misc-linux-stuff.gmi @@ -114,3 +114,13 @@ Then bring the tap0 interface up and configure IP addresses on both hosts. # ip link set tap0 up # ip addr add $IP/$NETMASK dev tap0 ``` + +## Using a Nix flake without using root to install Nix + +=> https://nixos.wiki/wiki/Nix_Installation_Guide#nix-user-chroot Follow the nix-user-chroot installation instructions in the Nix wiki. + +To enter an environment with the Nix flake configuration, run the following command: + +``` +nix --extra-experimental-features nix-command --extra-experimental-features flakes develop +``` -- cgit v1.2.3