added disko configuration to remove disk formatting from auto installer

This commit is contained in:
2026-07-15 07:30:32 +10:00
parent 0aae9c3bcf
commit 5dc41e2866
4 changed files with 51 additions and 4 deletions
+44
View File
@@ -0,0 +1,44 @@
{ ... }:
{
disko.devices = {
disk.main = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
root = {
priority = 1;
size = "-8G";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
extraArgs = [
"-L"
"nixos"
];
};
};
swap = {
priority = 2;
size = "100%";
content = {
type = "swap";
extraArgs = [
"-L"
"swap"
];
};
};
};
};
};
};
}