@ -1,19 +1,18 @@
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = with inputs.nixos-hardware.nixosModules; [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
common-amd-cpu-pstate
|
||||
common-intel-gpu
|
||||
common-cpu-amd-pstate
|
||||
common-gpu-intel
|
||||
common-pc-ssd
|
||||
];
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
intelgpu = {
|
||||
vaapiDriver = "intel-media-driver";
|
||||
useIntelMediaDriver = true;
|
||||
};
|
||||
intelgpu.vaapiDriver = "intel-media-driver";
|
||||
};
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
services = {
|
||||
# hardware.openrgb.enable = true;
|
||||
flatpak.enable = true;
|
||||
fstrim.enable = true;
|
||||
fwupd.enable = true;
|
||||
openssh.enable = true;
|
||||
syncthing.openDefaultPorts = true;
|
||||
|
Reference in New Issue
Block a user