feat: create muOS (laptop) config

This commit is contained in:
Noa Aarts 2024-08-30 18:26:19 +02:00
parent 062f0968d9
commit 79b53eb0df
Signed by: noa
GPG key ID: 1850932741EFF672
5 changed files with 654 additions and 0 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"
];
};
};
};
};
};
};
}