Simplify kexec and iso image generation

This commit is contained in:
2026-01-14 18:54:50 -08:00
parent bab2df5d7e
commit 5f7335c2a0
7 changed files with 58 additions and 136 deletions

View File

@@ -22,9 +22,7 @@
boot.kernelParams = [
"console=ttyS0,115200" # enable serial console
];
boot.kernel.sysctl."vm.overcommit_memory" = "1";
boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.kernelPackages = pkgs.linuxPackages_latest;
system.stateVersion = "21.11";
@@ -46,7 +44,7 @@
environment.variables.GC_INITIAL_HEAP_SIZE = "1M";
networking.useDHCP = true;
# networking.useDHCP = true;
services.openssh = {
enable = true;
@@ -56,6 +54,5 @@
};
};
services.getty.autologinUser = "root";
users.users.root.openssh.authorizedKeys.keys = config.machines.ssh.userKeys;
}