A simple flake setup with tests and VM support

This commit is contained in:
Henrik
2025-10-09 22:31:48 +02:00
parent cc3a2ed192
commit 814d54bcf4
11 changed files with 399 additions and 0 deletions

38
nix/disko.nix Normal file
View File

@@ -0,0 +1,38 @@
{
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 = "/";
};
};
};
};
};
};
};
}