From aba04c8456748f9e585f895385390be3ef84934c Mon Sep 17 00:00:00 2001 From: ShalokShalom Date: Sun, 21 Apr 2024 23:12:17 +0200 Subject: [PATCH] Add info about creation of flake.nix --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 74b79f8..01fc482 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,15 @@ to install Nix, like [the official installer][official-installer] or this ## Usage with flakes +First, create a flake.nix file. You can place that anywhere in your file system, conventional places are +/etc/nix/flake.nix __or__ /nix/flake.nix +`sudo touch /etc/nix/flake.nix` / `sudo touch /nix/flake.nix` + ### Defining the configuration A basic Nix flake using System Manager would look something like this: + ```nix { inputs = {