about summary refs log tree commit diff
path: root/Documentation/PARTITIONING.md
blob: 09bc49216cf64d87e14be29f93d237148b98f4e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# Partitioning & Mounting
My NixOS configuration has some extra helpers for partitioning and mounting :)

These scripts live in your specific `hardware/$HARDWARE/disks.nix` (Which should be customized to fit your specific configuration).

### Creating disks
`nix run .#nixosConfigurations.$HOST-$HARDWARE-$ARCH.config.disks-create`
### Formatting disks
`nix run .#nixosConfigurations.$HOST-$HARDWARE-$ARCH.config.disks-format`
### Mounting disks
`nix run .#nixosConfigurations.$HOST-$HARDWARE-$ARCH.config.disks-mount`