readd ai to galadriel

This commit is contained in:
Adrian Gunnar Lauterer 2024-04-19 16:54:53 +02:00
parent c801e79f5e
commit c2ae0bda4c
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
../../profiles/base.nix ../../profiles/base.nix
../../profiles/sops.nix ../../profiles/sops.nix
#../../profiles/ai.nix ../../profiles/ai.nix
../../services/smb.nix ../../services/smb.nix
../../services/torrent.nix ../../services/torrent.nix

View File

@ -11,7 +11,7 @@
#possibly a flawed idea. #possibly a flawed idea.
services.ollama.acceleration = lib.mkDefault ( let services.ollama.acceleration = lib.mkDefault ( let
hostname = config.networking.hostname; hostname = config.networking.hostName;
in in
if hostname == "galadriel" then "cuda" if hostname == "galadriel" then "cuda"
else if hostname == "aragorn" then "rocm" else if hostname == "aragorn" then "rocm"