Use disko with deps

This commit is contained in:
Sandro - 2024-01-06 18:10:21 +01:00
parent f89a5fb24e
commit baede8536c
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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";