1
2
mirror of https://github.com/adrlau/nix-dotfiles.git synced 2025-03-25 04:13:59 +01:00

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
machines/galadriel
services

@ -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"