changed to zen kernel

This commit is contained in:
2021-04-01 09:02:53 +05:30
parent 6c5f033de6
commit 86d0cd7c40
4 changed files with 22 additions and 4 deletions

View File

@@ -12,6 +12,13 @@
PIDFile = "/run/nbfc.pid";
};
};
services = {
tor.enable = true;
mysql = {
enable = true;
package = pkgs.mariadb;
};
};
# services.picom = {
# enable = true;
# fade = true;

View File

@@ -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"];
kernelModules = [ ];
};
kernelModules = [ "kvm-intel"];
extraModulePackages = [ ];
extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
loader = {
efi = {
canTouchEfiVariables = true;

View File

@@ -7,6 +7,7 @@
./stuff.nix
./pkgs.nix
./networking.nix
./boot.nix
];
system.stateVersion = "20.09";
}

View File

@@ -4,7 +4,6 @@
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
./Hardware/boot.nix
./Hardware/power.nix
./Hardware/xorg.nix
./Hardware/graphicshit.nix