Configurations cleanup
Fix home state version
This commit is contained in:
parent
c6c8c23058
commit
abc9f50a30
6 changed files with 76 additions and 82 deletions
|
|
@ -2,30 +2,29 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
{ pkgs, ... }: {
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
# boot.kernelPackages = pkgs.linuxPackages;
|
||||
|
||||
boot = {
|
||||
initrd.kernelModules = [ "i915" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
};
|
||||
|
||||
hardware.nvidia = {
|
||||
# modesetting.enable = true;
|
||||
# package = pkgs.linuxPackages.nvidia_x11;
|
||||
prime = {
|
||||
offload.enable = false;
|
||||
sync.enable = true;
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
videoDrivers = [ "nvidia" ];
|
||||
# displayManager.gdm = {
|
||||
# enable = true;
|
||||
# wayland = false;
|
||||
# };
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
autoNumlock = true;
|
||||
theme = "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";
|
||||
};
|
||||
};
|
||||
|
||||
services.xserver.displayManager.sddm = {
|
||||
enable = true;
|
||||
autoNumlock = true;
|
||||
theme = "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";
|
||||
};
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue