Add ollama and use GPU
This commit is contained in:
parent
3b6800845c
commit
71eb686b81
3 changed files with 9 additions and 0 deletions
|
|
@ -11,5 +11,6 @@
|
|||
./git.nix
|
||||
./thunderbird.nix
|
||||
./lidswitch.nix
|
||||
./gpu.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
7
nixos/modules/gpu.nix
Normal file
7
nixos/modules/gpu.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ ... }: {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
nixpkgs.config.rocmSupport = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue