nixos-servers/machines/default.nix

56 lines
1.2 KiB
Nix
Raw Normal View History

{
jefke = {
name = "jefke";
hostName = "jefke.hyp";
nixosModule.custom = {
dataDisk.enable = true;
terraformDatabase.enable = true;
# k3s.enable = true;
disko.osDiskDevice = "/dev/nvme0n1";
ssh = {
useCertificates = true;
hostCert = builtins.readFile ./jefke_host_ed25519-cert.pub;
userCert = builtins.readFile ./jefke_user_ed25519-cert.pub;
};
};
};
2023-11-29 16:21:18 +00:00
atlas = {
name = "atlas";
hostName = "atlas.hyp";
nixosModule.custom = {
disko.osDiskDevice = "/dev/nvme0n1";
2023-12-16 22:47:18 +00:00
ssh = {
useCertificates = true;
hostCert = builtins.readFile ./atlas_host_ed25519-cert.pub;
userCert = builtins.readFile ./atlas_user_ed25519-cert.pub;
2023-11-29 16:21:18 +00:00
};
2023-11-22 17:28:55 +00:00
};
};
lewis = {
name = "lewis";
hostName = "lewis.hyp";
nixosModule.custom = {
disko.osDiskDevice = "/dev/sda";
backups.enable = true;
dataDisk = {
enable = true;
devicePath = "/dev/nvme0n1p1";
};
ssh = {
useCertificates = true;
hostCert = builtins.readFile ./lewis_host_ed25519-cert.pub;
userCert = builtins.readFile ./lewis_user_ed25519-cert.pub;
};
};
};
}