Use disko with deps
This commit is contained in:
parent
f89a5fb24e
commit
baede8536c
|
@ -266,7 +266,7 @@ For the deployment options take a look at [deployment](https://gitea.c3d2.de/c3d
|
|||
Set the `disko` options for the machine and run:
|
||||
|
||||
```shell
|
||||
$(nix build --print-out-paths --no-link -L '.#nixosConfigurations.HOSTNAME.config.system.build.diskoNoDeps')
|
||||
$(nix build --print-out-paths --no-link -L '.#nixosConfigurations.HOSTNAME.config.system.build.disko')
|
||||
```
|
||||
|
||||
When adding new disks the paths under ``/dev/disk/by-id/`` should be used, so that the script is idempotent across device restarts.
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
# NOTE: stop the raid with: mdadm --stop /dev/md127
|
||||
disko.disks = [ {
|
||||
device = "/dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S3Z9NB0M203733F";
|
||||
name = "server10";
|
||||
|
|
Loading…
Reference in New Issue