Add ollama and split tardis/default.nix

This commit is contained in:
2026-07-08 22:41:57 +01:00
parent 13f8a22760
commit 86e9663531
6 changed files with 96 additions and 69 deletions
+26
View File
@@ -0,0 +1,26 @@
{ config, ... }:
{
boot.blacklistedKernelModules = [
"nouveau"
];
boot.kernelParams = [ "video=efifb:1920x1080" ];
boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
hardware.graphics.enable = true;
hardware.nvidia = {
modesetting.enable = true;
open = true;
prime = {
offload = {
enable = true;
enableOffloadCmd = true;
};
intelBusId = "PCI:0@0:2:0";
nvidiaBusId = "PCI:1@0:0:0";
};
};
}