Moved hosts configurations to instances

This commit is contained in:
Filippo Berto 2023-07-19 11:04:29 +01:00
parent 4d706138d6
commit cbe62f3201
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
24 changed files with 344 additions and 344 deletions

View file

@ -0,0 +1,16 @@
# 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).
{
boot = {
initrd.kernelModules = [ "i915" ];
blacklistedKernelModules = [ "nouveau" "nvidia" ];
};
# This runs only Intel and nvidia does not drain power.
##### disable nvidia for a very nice battery life.
hardware.nvidiaOptimus.disable = true;
services.xserver.videoDrivers = [ "intel" ];
}