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

@ -11,5 +11,6 @@
./git.nix
./thunderbird.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;
}