2023-11-15 12:06:59 +00:00
|
|
|
{
|
|
|
|
jefke = {
|
|
|
|
name = "jefke";
|
|
|
|
hostname = "jefke.hyp";
|
2023-11-22 17:28:55 +00:00
|
|
|
|
|
|
|
specificConfig = {
|
|
|
|
custom = {
|
|
|
|
dataDisk.enable = true;
|
|
|
|
|
|
|
|
ssh = {
|
2023-11-25 20:00:21 +00:00
|
|
|
useCertificates = true;
|
2023-11-22 17:28:55 +00:00
|
|
|
hostCert = builtins.readFile ./jefke_host_ed25519-cert.pub;
|
|
|
|
userCert = builtins.readFile ./jefke_user_ed25519-cert.pub;
|
|
|
|
};
|
2023-11-24 09:31:23 +00:00
|
|
|
|
|
|
|
terraformDatabase.enable = true;
|
2023-11-22 17:28:55 +00:00
|
|
|
};
|
2023-11-25 20:00:21 +00:00
|
|
|
|
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
vdb = {
|
|
|
|
device = "/dev/nvme0n1";
|
|
|
|
type = "disk";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
ESP = {
|
|
|
|
type = "EF00";
|
|
|
|
size = "500M";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
root = {
|
|
|
|
end = "-4G";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "btrfs";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
swap = { size = "100%"; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-11-29 16:21:18 +00:00
|
|
|
atlas = {
|
|
|
|
name = "atlas";
|
|
|
|
hostname = "atlas.hyp";
|
2023-11-25 20:00:21 +00:00
|
|
|
|
|
|
|
specificConfig = {
|
2023-11-29 16:21:18 +00:00
|
|
|
custom = {
|
|
|
|
ssh = {
|
|
|
|
useCertificates = true;
|
|
|
|
hostCert = builtins.readFile ./atlas_host_ed25519-cert.pub;
|
|
|
|
userCert = builtins.readFile ./atlas_user_ed25519-cert.pub;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-11-25 20:00:21 +00:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
2023-11-29 16:21:18 +00:00
|
|
|
vdb = {
|
|
|
|
device = "/dev/nvme0n1";
|
2023-11-25 20:00:21 +00:00
|
|
|
type = "disk";
|
|
|
|
content = {
|
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
2023-11-29 16:21:18 +00:00
|
|
|
ESP = {
|
|
|
|
type = "EF00";
|
|
|
|
size = "500M";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
2023-11-25 20:00:21 +00:00
|
|
|
};
|
|
|
|
root = {
|
2023-11-29 16:21:18 +00:00
|
|
|
end = "-4G";
|
2023-11-25 20:00:21 +00:00
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
2023-11-29 16:21:18 +00:00
|
|
|
format = "btrfs";
|
2023-11-25 20:00:21 +00:00
|
|
|
mountpoint = "/";
|
|
|
|
};
|
|
|
|
};
|
2023-11-29 16:21:18 +00:00
|
|
|
swap = { size = "100%"; };
|
2023-11-25 20:00:21 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-11-22 17:28:55 +00:00
|
|
|
};
|
2023-11-15 12:06:59 +00:00
|
|
|
};
|
|
|
|
}
|