mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
update README
This commit is contained in:
parent
ccc9a946db
commit
de8a6b665f
@ -153,7 +153,7 @@ Summary:
|
|||||||
* Create subvolume `@swap` directly below top-level subvolume.
|
* Create subvolume `@swap` directly below top-level subvolume.
|
||||||
* Mount at `/swap`
|
* Mount at `/swap`
|
||||||
* Create swapfile: `sudo btrfs filesystem mkswapfile --size 8g --uuid clear /swap/swapfile`
|
* 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).
|
* Add `swapDevices = [ { device = "/swap/swapfile"; } ];` to hardware configuration and run `nixos-rebuild switch` (see above).
|
||||||
|
|
||||||
## Automount encrypted drive
|
## Automount encrypted drive
|
||||||
|
Loading…
Reference in New Issue
Block a user