# Breaking Changes - sops location movod to "system/dev/<dev-name>/sops/sops-conf.nix" - flake devices declaration changes - whole flake update
16 lines
352 B
Nix
16 lines
352 B
Nix
{ lib, config, ... }:
|
|
let
|
|
inherit (lib) mkForce;
|
|
in
|
|
{
|
|
imports = [
|
|
(import ../../../modules/nvidia.nix {
|
|
nvidia-mode = "offload";
|
|
intel-bus-id = "PCI:0:2:0";
|
|
nvidia-bus-id = "PCI:1:0:0";
|
|
})
|
|
];
|
|
|
|
hardware.nvidia.package = mkForce config.boot.kernelPackages.nvidiaPackages.latest;
|
|
hardware.nvidia.open = mkForce true;
|
|
}
|