From 34b5b40e4931e34161a54f9e4e93f078605d9701 Mon Sep 17 00:00:00 2001 From: caem Date: Mon, 20 Jan 2025 01:00:11 +0100 Subject: [PATCH] gn fr this time --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5cd8969..1efadd0 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,25 @@ For your ssh key, place it in `~/.ssh` and create a symlink for the root user. sudo ln -sf /home/nixos/.ssh /root/.ssh ``` -#### 3. Run the installation script +#### 3. Update the flake input for your secret + +In `flake.nix`, replace +```nix + inputs = { + secrets.url = "git+ssh://git@git.caem.dev/caem/secrets"; +``` +with your url. +```nix + inputs = { + secrets.url = "git+ssh://git@git.example.com/username/secrets"; +``` + +#### 4. Update flake.lock (optional) +```sh +nix --extra-experimental-features 'nix-command flakes' flake update +``` + +#### 5. Run the installation script ```sh ./install.sh --host [your host] --device [the device to install NixOS on] ```