More hardware configuration for crash
This commit is contained in:
parent
9ea0aa1abe
commit
d1a386edf5
|
@ -158,6 +158,7 @@
|
|||
libinput
|
||||
maliit-keyboard
|
||||
dconf-editor
|
||||
surface-control
|
||||
];
|
||||
|
||||
# Setup iptsd for touch and stylus support
|
||||
|
@ -169,6 +170,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
# And thermald
|
||||
services.thermald = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Nvidia gpu setup
|
||||
hardware.nvidia = {
|
||||
open = true;
|
||||
prime = {
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:2:0:0";
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
|
|
@ -31,6 +31,11 @@
|
|||
imports = [
|
||||
# Hardware support
|
||||
inputs.nixos-hardware.nixosModules.microsoft-surface-common
|
||||
inputs.nixos-hardware.nixosModules.common-pc
|
||||
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
||||
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
inputs.nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
# Our modules
|
||||
(import ../../modules/base.nix {inherit inputs;})
|
||||
(import ./configuration.nix)
|
||||
|
|
Loading…
Reference in a new issue