homeserver i guess

This commit is contained in:
tulg 2026-05-07 17:50:36 +03:00
parent 8c44e6e6cc
commit bf6e9e680e
8 changed files with 76 additions and 45 deletions

36
hosts/overlord/disko.nix Normal file
View file

@ -0,0 +1,36 @@
{
disko.devices = {
disk = {
nixos = {
type = "disk";
device = "/dev/nvme0n1";
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 = "/";
};
};
};
};
};
};
};
}