Move Nix Store to new partition: Difference between revisions
imported>Appetrosyan m Formatting fixes |
imported>Wittypal mNo edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
The tutorial will teach you how to relocate {{ic|/nix}} to a new | The tutorial will teach you how to relocate {{ic|/nix}} to a new | ||
device on non NixOS Hosts. A | device on non NixOS Hosts. A summary of how this could be done on NixOS is at the bottom. | ||
'''This has not been tested on NixOS''' but there may still be a way: | '''This has not been tested on NixOS''' but there may still be a way: | ||
| Line 58: | Line 58: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= NixOS = | = NixOS = | ||
{{Merge|Storage_optimization#Moving_the_store|There is some overlap between this page and the subsection of Article Storage Optimization|Talk:Move_Nix_Store_to_new_partition}} | |||
Add [https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix rescue-boot.nix] to your imports section. | Add [https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix rescue-boot.nix] to your imports section. | ||