From 2be88dd9ec52e9fdbb2d7c02c154b7482c47aabf Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 18 Oct 2023 13:49:52 -0400 Subject: Use nvidia GPU for graphics Even though I have 64 cpus, when I use them all for compilation, the UI still lags, so that's annoying. Until I start using this for inference full-time, offload the UI stuff to the GPU. --- Biz/OsBase.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Biz/OsBase.nix') diff --git a/Biz/OsBase.nix b/Biz/OsBase.nix index c82b935..ffd7258 100644 --- a/Biz/OsBase.nix +++ b/Biz/OsBase.nix @@ -1,8 +1,12 @@ -{...}: +{pkgs, ...}: let ports = import ./Cloud/Ports.nix; in { boot.cleanTmpDir = true; + fonts.fonts = with pkgs; [ + google-fonts mononoki source-code-pro fantasque-sans-mono hack-font + fira fira-code fira-code-symbols + ]; networking.firewall.allowPing = true; nix.settings.substituters = [ "https://cache.nixos.org" ]; # "ssh://dev.simatime.com" ]; nix.gc.automatic = true; -- cgit v1.2.3