add linode disko config

This commit is contained in:
2026-07-15 09:36:04 +10:00
parent d9015e87d3
commit a2f817b098
3 changed files with 58 additions and 1 deletions
+55
View File
@@ -0,0 +1,55 @@
{ ... }:
{
disko.devices = {
disk.main = {
type = "disk";
device = "/dev/sda";
content = {
# type = "gpt";
partitions = {
root = {
priority = 1;
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
extraArgs = [
"-L"
"nixos"
];
};
};
};
};
};
disk.swap = {
type = "disk";
device = "/dev/sdb";
content = {
# type = "gpt";
partitions = {
swap = {
priority = 1;
size = "100%";
content = {
type = "swap";
extraArgs = [
"-L"
"swap"
];
};
};
};
};
};
};
}