Files
nixos-setup/hosts/hl-bigbox1.nix
T
2024-07-12 14:37:28 -04:00

30 lines
801 B
Nix

{ user }:
{ pkgs, lib, ... }:
{
imports = [ ./hl-bigbox1.hardware-configuration.nix ];
# firmware updater
services.fwupd.enable = true;
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.tmp.useTmpfs = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
# environment.systemPackages = with pkgs; [
# ];
# Ollama
services.ollama = {
enable = true;
acceleration = "cuda";
listenAddress = "0.0.0.0:11434";
};
# Docker
virtualisation.docker.enableNvidia = true;
# Kernel
# boot.initrd.kernelModules = [ "amdgpu" "evdi" ];
# hardware.opengl.extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk ];
# home-manager.users.${user.name}.programs.zsh.initExtra = ''
# tmux attach || tmux
# '';
}