attempt trippy internet patches

This commit is contained in:
Noa Aarts 2024-04-29 23:26:22 +02:00
parent 99908ce297
commit 0caa3c75c8

View file

@ -14,6 +14,7 @@
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelParams = [ "nvidia.NVreg_PreserveVideoMemoryAllocations=1" ];
# LOVE me some blob # LOVE me some blob
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
@ -22,7 +23,8 @@
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
driSupport = true; driSupport = false;
package = config.hardware.nvidia.package;
}; };
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
@ -41,8 +43,6 @@
nvidiaSettings = true; nvidiaSettings = true;
}; };
config.nvidia.acceptLicense = true;
networking = { networking = {
hostName = "lambdaOS"; # Define your hostname. hostName = "lambdaOS"; # Define your hostname.
extraHosts = '' extraHosts = ''
@ -142,7 +142,10 @@
}; };
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config = {
allowUnfree = true;
nvidia.acceptLicense = true;
};
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget