add recommended lxd settings
This commit is contained in:
		
							parent
							
								
									41916a2e03
								
							
						
					
					
						commit
						4d7509f336
					
				@ -45,13 +45,15 @@
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  virtualisation.lxd.enable = true;
 | 
			
		||||
  virtualisation.lxd.recommendedSysctlSettings = true;
 | 
			
		||||
  virtualisation.lxc.lxcfs.enable = true;
 | 
			
		||||
 | 
			
		||||
  boot.kernel.sysctl = {
 | 
			
		||||
    "kernel.perf_event_paranoid" = "0";
 | 
			
		||||
    "kernel.kptr_restrict" = pkgs.lib.mkForce "0";
 | 
			
		||||
 | 
			
		||||
    # IntelliJ
 | 
			
		||||
    "fs.inotify.max_user_watches" = 524288;
 | 
			
		||||
    "fs.inotify.max_user_watches" = pkgs.lib.mkDefault 524288;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # gapt: `ulimit -n` was 256
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										10
									
								
								large-sw.nix
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										10
									
								
								large-sw.nix
									
									
									
									
									
								
							@ -14,11 +14,11 @@
 | 
			
		||||
    goldendict
 | 
			
		||||
 | 
			
		||||
    xournal
 | 
			
		||||
    (xournalpp.overrideDerivation (_: {
 | 
			
		||||
      patches = [
 | 
			
		||||
        ./xournalpp-cursor-blink.patch
 | 
			
		||||
      ];
 | 
			
		||||
    }))
 | 
			
		||||
    # (xournalpp.overrideDerivation (_: {
 | 
			
		||||
    #   patches = [
 | 
			
		||||
    #     ./xournalpp-cursor-blink.patch
 | 
			
		||||
    #   ];
 | 
			
		||||
    # }))
 | 
			
		||||
 | 
			
		||||
    vscode
 | 
			
		||||
    ccls
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user