summaryrefslogtreecommitdiff
path: root/nixos/README.md
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-27 08:27:03 +0100
committerMartin Fischer <martin@push-f.com>2024-12-27 13:02:48 +0100
commitedda7ef46bf2ae7fde9511005b4e7d40648c7e24 (patch)
tree69f22f3b10650db1e658c5ead0edd397371bf7b5 /nixos/README.md
parenta38027b74258a984dd959d6558440bf3078e336e (diff)
refactor: move host configs under hosts/
Diffstat (limited to 'nixos/README.md')
-rw-r--r--nixos/README.md6
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:
```