mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 12:15:38 +00:00
update disko config to new format
This commit is contained in:
parent
ea67467cbf
commit
1e9401eef2
@ -4,38 +4,30 @@
|
|||||||
type = "disk";
|
type = "disk";
|
||||||
device = disk;
|
device = disk;
|
||||||
content = {
|
content = {
|
||||||
type = "table";
|
type = "gpt";
|
||||||
format = "gpt";
|
partitions = {
|
||||||
partitions = [
|
|
||||||
# Boot partition
|
# Boot partition
|
||||||
{
|
ESP = {
|
||||||
name = "ESP";
|
size = "512MiB";
|
||||||
start = "0";
|
type = "EF00";
|
||||||
end = "512MiB";
|
|
||||||
fs-type = "fat32";
|
|
||||||
bootable = true;
|
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "vfat";
|
format = "vfat";
|
||||||
mountpoint = "/boot";
|
mountpoint = "/boot";
|
||||||
extraArgs = [ "-n boot" ];
|
extraArgs = [ "-n boot" ];
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
# Root partition ext4
|
# Root partition ext4
|
||||||
{
|
root = {
|
||||||
name = "root";
|
size = "100%";
|
||||||
start = "512MiB";
|
|
||||||
end = "100%";
|
|
||||||
part-type = "primary";
|
|
||||||
bootable = true;
|
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "ext4";
|
format = "ext4";
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
extraArgs = [ "-L nixos" ];
|
extraArgs = [ "-L nixos" ];
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user