feat: add new host capella for game server hosting

This commit is contained in:
2024-10-21 02:05:53 +05:30
parent 68de1ae948
commit 29520393c8
6 changed files with 156 additions and 33 deletions

32
hosts/capella/default.nix Normal file
View File

@ -0,0 +1,32 @@
{
modulesPath,
inputs,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
inputs.disko.nixosModules.default
(import ./disko.nix {device = "/dev/sda";})
../common
];
nixpkgs.hostPlatform = "x86_64-linux";
networking = {
hostName = "capella";
firewall.enable = false;
};
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
};
environment.persistence."/persist" = {
enable = false;
};
system.stateVersion = "24.11";
}