seccond attempt at rockpro64 image, still gets OOMed on laptop.

This commit is contained in:
Gabe Venberg 2024-06-16 14:52:15 -05:00
parent 21e06ef060
commit 82ffcbc905

View file

@ -26,7 +26,6 @@
options, options,
... ...
}: { }: {
# nixpkgs.crossSystem.system="aarch64-linux";
nixpkgs.buildPlatform.system = "x86_64-linux"; nixpkgs.buildPlatform.system = "x86_64-linux";
nixpkgs.hostPlatform.system = "aarch64-linux"; nixpkgs.hostPlatform.system = "aarch64-linux";
imports = [ imports = [
@ -43,7 +42,7 @@
users.users.${config.host.user} = { users.users.${config.host.user} = {
packages = with pkgs; [ packages = with pkgs; [
gparted gparted
firefox neovim
]; ];
}; };
@ -91,17 +90,6 @@
# plenty of free memory. # plenty of free memory.
boot.kernel.sysctl."vm.overcommit_memory" = "1"; boot.kernel.sysctl."vm.overcommit_memory" = "1";
# To speed up installation a little bit, include the complete
# stdenv in the Nix store on the CD.
system.extraDependencies = with pkgs; [
stdenv
stdenvNoCC # for runCommand
busybox
jq # for closureInfo
# For boot.initrd.systemd
makeInitrdNGTool
];
# Show all debug messages from the kernel but don't log refused packets # Show all debug messages from the kernel but don't log refused packets
# because we have the firewall enabled. This makes installs from the # because we have the firewall enabled. This makes installs from the
# console less cumbersome if the machine has a public IP. # console less cumbersome if the machine has a public IP.