Diasable most stuff

This commit is contained in:
Johannes Jöns 2023-02-24 17:19:53 +01:00
parent 0ca31c5620
commit 10a7ce8a05
2 changed files with 14 additions and 14 deletions

View file

@ -8,14 +8,14 @@ with lib;
networking.networkmanager.enable = true;
custom.system.boot.uefi.enable = true;
custom.system.xdg.enable = true;
custom.system.fonts.enable = true;
#custom.system.xdg.enable = true;
#custom.system.fonts.enable = true;
custom.system.locale.enable = true;
custom.system.locale.layout = "de";
custom.system.ssh.enable = true;
#custom.system.ssh.enable = true;
custom.nix.enable = true;
custom.hardware.audio.enable = true;
custom.hardware.printing.enable = true;
#custom.hardware.audio.enable = true;
#custom.hardware.printing.enable = true;
custom.desktop.plasma.enable = true;
custom.user.jopejoe1.enable =true;
@ -26,7 +26,7 @@ with lib;
time.timeZone = "Europe/Berlin";
hardware.opengl.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
boot.kernelParams = [ "module_blacklist=i915" ];
programs = {

View file

@ -6,15 +6,15 @@ in
{
imports = with nixos-hardware.nixosModules; [
(modulesPath + "/installer/scan/not-detected.nix")
common-cpu-intel
#common-cpu-intel
#common-gpu-nvidia
common-pc
common-pc-ssd
#common-pc
#common-pc-ssd
];
hardware.nvidia.prime = {
offload.enable = false;
sync.enable = false;
#hardware.nvidia.prime = {
# offload.enable = false;
#sync.enable = false;
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
#intelBusId = "PCI:0:2:0";
@ -24,7 +24,7 @@ in
};
boot = {
kernelPackages = pkgs.linuxPackages_5_10;
#kernelPackages = pkgs.linuxPackages_5_10;
initrd = {
# kernelModules = [ "amdgpu" ];
@ -66,5 +66,5 @@ in
services.xserver.videoDrivers = [ "nvidia" ];
hardware.bluetooth.enable = false;
#hardware.bluetooth.enable = false;
}