Cleanup home-manager modules

This commit is contained in:
Filippo Berto 2022-05-06 16:34:32 +02:00
parent 6a00933db4
commit c1d2701998
72 changed files with 551 additions and 580 deletions

View file

@ -1,34 +0,0 @@
# 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, ... }:
{
boot.initrd.kernelModules = [ "i915" ];
hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;
services.xserver = {
videoDrivers = [ "nvidia" ];
displayManager.sddm = {
enable = true;
autoNumlock = true;
# enableHidpi = true;
};
# displayManager.gdm = {
# enable = true;
# wayland = false;
# };
};
hardware.nvidia.prime = {
offload.enable = false;
sync.enable = true;
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
# hardware.nvidia.modesetting.enable = true;
# hardware.nvidia.package = pkgs.linuxPackages.nvidia_x11;
hardware.opengl.driSupport32Bit = true;
}