From edda7ef46bf2ae7fde9511005b4e7d40648c7e24 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 27 Dec 2024 08:27:03 +0100 Subject: refactor: move host configs under hosts/ --- nixos/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nixos/README.md') diff --git a/nixos/README.md b/nixos/README.md index 1a9c50e..67b6cf7 100644 --- a/nixos/README.md +++ b/nixos/README.md @@ -22,7 +22,7 @@ We're assuming that you just installed NixOS by going through the [official inst 'git clone https://git.push-f.com/config ~/config' cd ~/config/nixos ``` -2. Add your initial NixOS configuration files, either +2. Create a new directory under `hosts` named after the hostname. Add your initial NixOS configuration files, either - Move your existing configuration files into it: ``` sudo mv /etc/nixos/* . @@ -31,8 +31,8 @@ We're assuming that you just installed NixOS by going through the [official inst ``` nixos-generate-config --dir . ``` -3. Rename the files to `$host-configuration.nix` and `$host-hardware-configuration.nix` where `$host` is the configured hostname. - Add `# channel="..."` to the start of the `$host-configuration.nix` file where `...` is the key of a channel pinned in `npins/sources.json`. +3. Rename the `configuration.nix` to `default.nix`. + Add `# channel="..."` to the start of the `default.nix` file where `...` is the key of a channel pinned in `npins/sources.json`. A new channel can be pinned with: ``` -- cgit v1.2.3