Add host srv03

This commit is contained in:
JuliusFreudenberger 2026-04-25 02:28:23 +02:00
parent e8d9329e8e
commit 061fdb2a47
5 changed files with 185 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{
disko.devices = {
disk = {
sda = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
MBR = {
type = "EF02"; # for grub MBR
size = "1M";
priority = 1; # Needs to be first partition
};
ESP = {
size = "1G";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
end = "-1G";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
encryptedSwap = {
size = "100%";
content = {
type = "swap";
randomEncryption = true;
priority = 100;
};
};
};
};
};
};
};
}