feat: rename server and default

This commit is contained in:
Noa Aarts 2024-08-31 18:38:39 +02:00
parent c4e70114ac
commit 40898c5a14
Signed by: noa
GPG key ID: 1850932741EFF672
10 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,41 @@
# Example to create a bios compatible gpt partition
{ lib, ... }:
{
disko.devices = {
disk.disk1 = {
device = lib.mkDefault "/dev/nvme0n1";
type = "disk";
content = {
type = "gpt";
partitions = {
boot = {
name = "boot";
size = "1M";
type = "EF02";
};
esp = {
name = "ESP";
size = "500M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [
"defaults"
];
};
};
};
};
};
};
}