diff --git a/hosts/skaftafell/default.nix b/hosts/skaftafell/default.nix index 7a759a1..e58e2ea 100644 --- a/hosts/skaftafell/default.nix +++ b/hosts/skaftafell/default.nix @@ -47,6 +47,11 @@ with lib; system.pass.enable = true; system.ssh.enable = true; system.sshfs.enable = true; + system.nvidia = { + enable = true; + intelBusId = "PCI:0:2:0"; + nvidiaBusId = "PCI:0:6:0"; + }; # - Server ---------------------------------- # server.vatnajokull.enable = true; @@ -58,4 +63,11 @@ with lib; dev.docker.enable = true; dev.docker.users = ["marc"]; }; + + # TODO: Move to a module + services.ollama = { + enable = true; + package = pkgs.ollama-cuda; + host = "100.74.218.64"; + }; }