diff --git a/README.md b/README.md index dee2cb4..c91646d 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ Summary: * Create subvolume `@swap` directly below top-level subvolume. * Mount at `/swap` * Create swapfile: `sudo btrfs filesystem mkswapfile --size 8g --uuid clear /swap/swapfile` -* Regenerate hardware-configuration: `sudo nixos-generate-config --dir $(hostname)` +* Regenerate hardware-configuration: `sudo nixos-generate-config --dir hosts/$(hostname)` * Add `swapDevices = [ { device = "/swap/swapfile"; } ];` to hardware configuration and run `nixos-rebuild switch` (see above). ## Automount encrypted drive