refactor
This commit is contained in:
parent
8c9eed18e6
commit
b458b67238
83 changed files with 1115 additions and 5026 deletions
28
hosts/voidspear/config.nix
Normal file
28
hosts/voidspear/config.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware/hardware-configuration.nix
|
||||
./hardware/disko.nix
|
||||
];
|
||||
|
||||
networking.hostName = "voidspear";
|
||||
networking.hostID = "ec82a76e";
|
||||
|
||||
|
||||
# nVidia drivers.
|
||||
hardware.graphics.extraPackages = with pkgs; [
|
||||
libvdpau-va-gl
|
||||
];
|
||||
services.xserver.videoDrivers = [ "nvidia"];
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
boot.blacklistedKernelModules = [ "nouveau" ];
|
||||
|
||||
services.ollama.acceleration = "cuda";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue