seccond attempt at rockpro64 image, still gets OOMed on laptop.
This commit is contained in:
		
							parent
							
								
									21e06ef060
								
							
						
					
					
						commit
						82ffcbc905
					
				
					 1 changed files with 1 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -26,7 +26,6 @@
 | 
			
		|||
      options,
 | 
			
		||||
      ...
 | 
			
		||||
    }: {
 | 
			
		||||
      # nixpkgs.crossSystem.system="aarch64-linux";
 | 
			
		||||
      nixpkgs.buildPlatform.system = "x86_64-linux";
 | 
			
		||||
      nixpkgs.hostPlatform.system = "aarch64-linux";
 | 
			
		||||
      imports = [
 | 
			
		||||
| 
						 | 
				
			
			@ -43,7 +42,7 @@
 | 
			
		|||
      users.users.${config.host.user} = {
 | 
			
		||||
        packages = with pkgs; [
 | 
			
		||||
          gparted
 | 
			
		||||
          firefox
 | 
			
		||||
          neovim
 | 
			
		||||
        ];
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -91,17 +90,6 @@
 | 
			
		|||
      # plenty of free memory.
 | 
			
		||||
      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
 | 
			
		||||
      # because we have the firewall enabled. This makes installs from the
 | 
			
		||||
      # console less cumbersome if the machine has a public IP.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue