tachibana
This commit is contained in:
parent
2dc47d0fca
commit
25a539987d
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
boot.extraModulePackages = [config.boot.kernelPackages.it87];
|
boot.extraModulePackages = [config.boot.kernelPackages.it87];
|
||||||
boot.kernelParams = ["acpi_enforce_resources=lax"];
|
boot.kernelParams = ["acpi_enforce_resources=lax" "default_hugepagesz=1G" "hugepagesz=1G" "hugepages=33"];
|
||||||
boot.kernelModules = ["it87"];
|
boot.kernelModules = ["it87"];
|
||||||
boot.extraModprobeConfig = "options it87 ignore_resource_conflict=1 force_id=0x8622";
|
boot.extraModprobeConfig = "options it87 ignore_resource_conflict=1 force_id=0x8622";
|
||||||
services.getty = {
|
services.getty = {
|
||||||
|
|
@ -26,7 +26,10 @@
|
||||||
time.timeZone = "America/Chicago";
|
time.timeZone = "America/Chicago";
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
videoDrivers = ["nvidia"];
|
videoDrivers = ["nvidia"];
|
||||||
deviceSection = ''Option "TearFree" "true"'';
|
deviceSection = ''
|
||||||
|
VendorName "NVIDIA Corporation"
|
||||||
|
BusID "PCI:16:0:0"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
hardware.nvidia.open = true;
|
hardware.nvidia.open = true;
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
|
|
@ -40,7 +43,7 @@
|
||||||
|
|
||||||
users.users.ahnwuoa = {
|
users.users.ahnwuoa = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["wheel"];
|
extraGroups = ["wheel" "audio" "kvm"];
|
||||||
};
|
};
|
||||||
boot.loader.grub.extraEntries = ''
|
boot.loader.grub.extraEntries = ''
|
||||||
menuentry "UEFI Firmware Settings" {
|
menuentry "UEFI Firmware Settings" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue