Add ollama and use GPU

This commit is contained in:
Zeph Levy 2026-04-26 22:34:27 +02:00
parent 3b6800845c
commit 71eb686b81
3 changed files with 9 additions and 0 deletions

View file

@ -76,4 +76,5 @@
powerOnBoot = false; powerOnBoot = false;
}; };
services.blueman.enable = true; services.blueman.enable = true;
services.ollama.enable = true;
} }

View file

@ -11,5 +11,6 @@
./git.nix ./git.nix
./thunderbird.nix ./thunderbird.nix
./lidswitch.nix ./lidswitch.nix
./gpu.nix
]; ];
} }

7
nixos/modules/gpu.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }: {
hardware.graphics = {
enable = true;
enable32Bit = true;
};
nixpkgs.config.rocmSupport = true;
}