mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2026-01-25 08:33:15 +01:00
readd ai to galadriel
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
../../profiles/base.nix
|
||||
../../profiles/sops.nix
|
||||
#../../profiles/ai.nix
|
||||
../../profiles/ai.nix
|
||||
|
||||
../../services/smb.nix
|
||||
../../services/torrent.nix
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#possibly a flawed idea.
|
||||
services.ollama.acceleration = lib.mkDefault ( let
|
||||
hostname = config.networking.hostname;
|
||||
hostname = config.networking.hostName;
|
||||
in
|
||||
if hostname == "galadriel" then "cuda"
|
||||
else if hostname == "aragorn" then "rocm"
|
||||
|
||||
Reference in New Issue
Block a user