fix disko

This commit is contained in:
2026-04-19 07:55:25 -05:00
parent 300b407208
commit 3b386828af
2 changed files with 5 additions and 14 deletions

View File

@@ -1,15 +1,10 @@
{ ... }: {
flake.diskoConfigurations.homebox = {
device1 ? throw "Set this to your disk device, e.g. /dev/sda",
device2,
device3,
...
}: {
disko.devices = {
disk = {
main = {
device = device1;
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "gpt";
@@ -48,7 +43,7 @@
};
};
ssd1 = {
device = device2;
device = "/dev/nvme1n1";
type = "disk";
content = {
type = "gpt";
@@ -65,7 +60,7 @@
};
};
hdd1 = {
device = device3;
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";