2025-04-13 12:04:12 -04:00
|
|
|
{ ... }:{
|
2025-04-12 16:26:18 -04:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
main = {
|
|
|
|
type = "disk";
|
|
|
|
device = "/dev/sda";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
boot = {
|
|
|
|
size = "1M";
|
|
|
|
type = "EF02";
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
ESP = {
|
|
|
|
size = "512M";
|
|
|
|
type = "EF00";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
root = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2025-04-15 12:36:32 -04:00
|
|
|
git-storage = {
|
|
|
|
type = "disk";
|
2025-04-15 12:56:32 -04:00
|
|
|
device = "/dev/sdb";
|
2025-04-15 12:36:32 -04:00
|
|
|
content = {
|
2025-04-15 12:40:25 -04:00
|
|
|
type = "gpt";
|
2025-04-15 12:36:32 -04:00
|
|
|
partitions = {
|
|
|
|
root = {
|
|
|
|
size = "100%";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/mnt/git-storage";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2025-04-12 16:26:18 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|