Completed centralized update
This commit is contained in:
parent
ef5b48d142
commit
83c9c72688
15 changed files with 328 additions and 138 deletions
19
nixos/intel.nix
Normal file
19
nixos/intel.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
<nixos-hardware/common/cpu/intel>
|
||||
./base.nix
|
||||
];
|
||||
|
||||
# This runs only Intel and nvidia does not drain power.
|
||||
##### disable nvidia for a very nice battery life.
|
||||
hardware.nvidiaOptimus.disable = true;
|
||||
boot.blacklistedKernelModules = [ "nouveau" "nvidia" ];
|
||||
services.xserver.videoDrivers = [ "intel" ];
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue