1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2025-01-11 19:39:46 +01:00
nixos-hardware/asus/fa506ic/default.nix

34 lines
701 B
Nix
Raw Normal View History

2024-12-23 06:34:28 +01:00
{ lib, ... }:
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/amd
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
../../common/pc/laptop
../../common/pc/laptop/ssd
];
hardware.nvidia = {
modesetting.enable = lib.mkDefault true;
open = lib.mkDefault false;
nvidiaSettings = lib.mkDefault true;
dynamicBoost.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:0:6:0";
nvidiaBusId = "PCI:0:1:0";
};
};
services = {
asusd = {
enable = lib.mkDefault true;
enableUserService = lib.mkDefault true;
};
supergfxd.enable = lib.mkDefault true;
};
}