mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 09:13:55 -05:00
37 lines
781 B
Nix
37 lines
781 B
Nix
|
{
|
||
|
disko.devices = {
|
||
|
disk = {
|
||
|
main = {
|
||
|
type = "disk";
|
||
|
device = "/dev/sda";
|
||
|
content = {
|
||
|
type = "gpt";
|
||
|
partitions = {
|
||
|
boot = {
|
||
|
size = "1M";
|
||
|
type = "EF02"; # for grub MBR
|
||
|
};
|
||
|
ESP = {
|
||
|
size = "512M";
|
||
|
type = "EF00";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "vfat";
|
||
|
mountpoint = "/boot";
|
||
|
};
|
||
|
};
|
||
|
root = {
|
||
|
size = "100%";
|
||
|
content = {
|
||
|
type = "filesystem";
|
||
|
format = "ext4";
|
||
|
mountpoint = "/";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|