mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 17:16:15 +02:00
parent
ab2ef851b6
commit
8b15650e74
1 changed files with 7 additions and 7 deletions
|
@ -195,7 +195,7 @@ If you are comfortable navigating these tradeoffs, you can encrypt the
|
||||||
volume with something along the lines of:
|
volume with something along the lines of:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
alice$ diskutil apfs enableFileVault /nix -user disk
|
$ diskutil apfs enableFileVault /nix -user disk
|
||||||
```
|
```
|
||||||
|
|
||||||
## Symlink the Nix store to a custom location
|
## Symlink the Nix store to a custom location
|
||||||
|
@ -234,13 +234,13 @@ as a helpful reference if you run into trouble.
|
||||||
without a reboot:
|
without a reboot:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
alice$ /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B
|
$ /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Create the new APFS volume with diskutil:
|
3. Create the new APFS volume with diskutil:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
alice$ sudo diskutil apfs addVolume diskX APFS 'Nix Store' -mountpoint /nix
|
$ sudo diskutil apfs addVolume diskX APFS 'Nix Store' -mountpoint /nix
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Using `vifs`, add the new mount to `/etc/fstab`. If it doesn't
|
4. Using `vifs`, add the new mount to `/etc/fstab`. If it doesn't
|
||||||
|
@ -280,10 +280,10 @@ it somewhere (e.g. in `/tmp`), and then run the script named `install`
|
||||||
inside the binary tarball:
|
inside the binary tarball:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
alice$ cd /tmp
|
$ cd /tmp
|
||||||
alice$ tar xfj nix-1.8-x86_64-darwin.tar.bz2
|
$ tar xfj nix-1.8-x86_64-darwin.tar.bz2
|
||||||
alice$ cd nix-1.8-x86_64-darwin
|
$ cd nix-1.8-x86_64-darwin
|
||||||
alice$ ./install
|
$ ./install
|
||||||
```
|
```
|
||||||
|
|
||||||
If you need to edit the multi-user installation script to use different
|
If you need to edit the multi-user installation script to use different
|
||||||
|
|
Loading…
Reference in a new issue