add radish-vm for testing

This commit is contained in:
Joakim Repomaa
2025-07-11 11:37:28 +03:00
parent 3e37b4bcbc
commit 5b3ceb239d
8 changed files with 130 additions and 1 deletions

21
hosts/radish-vm/boot.nix Normal file
View File

@@ -0,0 +1,21 @@
{ pkgs, ... }:
{
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
loader.systemd-boot.configurationLimit = 10;
kernelPackages = pkgs.linuxPackages_latest;
tmp.useTmpfs = true;
kernel.sysctl = {
"vm.max_map_count" = 262144;
};
binfmt.emulatedSystems = [ "aarch64-linux" ];
};
environment.systemPackages = with pkgs; [
efibootmgr
];
}