diff options
Diffstat (limited to 'nixos/README.md')
-rw-r--r-- | nixos/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
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: ``` |