diff --git a/Stuff/services.nix b/Stuff/services.nix index 4e07af6..65081c7 100644 --- a/Stuff/services.nix +++ b/Stuff/services.nix @@ -12,6 +12,13 @@ PIDFile = "/run/nbfc.pid"; }; }; + services = { + tor.enable = true; + mysql = { + enable = true; + package = pkgs.mariadb; + }; + }; # services.picom = { # enable = true; # fade = true; diff --git a/Hardware/boot.nix b/boot.nix similarity index 64% rename from Hardware/boot.nix rename to boot.nix index 565d667..156bd0c 100644 --- a/Hardware/boot.nix +++ b/boot.nix @@ -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; diff --git a/configuration.nix b/configuration.nix index cc2e47d..b714563 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,6 +7,7 @@ ./stuff.nix ./pkgs.nix ./networking.nix + ./boot.nix ]; system.stateVersion = "20.09"; } diff --git a/hardware.nix b/hardware.nix index 84a692b..8b7e370 100644 --- a/hardware.nix +++ b/hardware.nix @@ -4,7 +4,6 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") - ./Hardware/boot.nix ./Hardware/power.nix ./Hardware/xorg.nix ./Hardware/graphicshit.nix