changed to zen kernel
This commit is contained in:
		@@ -12,6 +12,13 @@
 | 
			
		||||
      PIDFile = "/run/nbfc.pid";
 | 
			
		||||
    };
 | 
			
		||||
  };  
 | 
			
		||||
  services = {
 | 
			
		||||
    tor.enable = true;
 | 
			
		||||
    mysql = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      package = pkgs.mariadb;
 | 
			
		||||
         };
 | 
			
		||||
       };
 | 
			
		||||
 # services.picom = {
 | 
			
		||||
 #   enable = true;
 | 
			
		||||
 #   fade = true;
 | 
			
		||||
 
 | 
			
		||||
@@ -4,12 +4,23 @@
 | 
			
		||||
  imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
 | 
			
		||||
 | 
			
		||||
  boot = {
 | 
			
		||||
    kernelPackages = pkgs.linuxPackages_zen;
 | 
			
		||||
    kernelPatches = [
 | 
			
		||||
      {
 | 
			
		||||
        name = "zenwithmuqqs";
 | 
			
		||||
        patch = null;
 | 
			
		||||
        structuredExtraConfig = ''
 | 
			
		||||
          SCHED_MUQQS y
 | 
			
		||||
        '';
 | 
			
		||||
        ignoreConfigErrors = true;
 | 
			
		||||
      }
 | 
			
		||||
    ];
 | 
			
		||||
    initrd={
 | 
			
		||||
      availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
 | 
			
		||||
      availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod"];
 | 
			
		||||
      kernelModules = [ ];
 | 
			
		||||
    };
 | 
			
		||||
    kernelModules = [ "kvm-intel" ];
 | 
			
		||||
    extraModulePackages = [ ];
 | 
			
		||||
    kernelModules = [ "kvm-intel"];
 | 
			
		||||
    extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
 | 
			
		||||
    loader = {
 | 
			
		||||
      efi = {
 | 
			
		||||
        canTouchEfiVariables = true;
 | 
			
		||||
@@ -7,6 +7,7 @@
 | 
			
		||||
      ./stuff.nix
 | 
			
		||||
      ./pkgs.nix
 | 
			
		||||
      ./networking.nix
 | 
			
		||||
      ./boot.nix
 | 
			
		||||
    ];
 | 
			
		||||
  system.stateVersion = "20.09";
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,6 @@
 | 
			
		||||
  imports =
 | 
			
		||||
    [
 | 
			
		||||
      (modulesPath + "/installer/scan/not-detected.nix")
 | 
			
		||||
      ./Hardware/boot.nix
 | 
			
		||||
      ./Hardware/power.nix
 | 
			
		||||
      ./Hardware/xorg.nix
 | 
			
		||||
      ./Hardware/graphicshit.nix
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user