From de8a6b665f06e92532354bd8511c712c881aaf1d Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 7 Sep 2023 18:54:46 +0200 Subject: [PATCH] update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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