From 40aa35b0f7c9eae134386551b0798250281a3797 Mon Sep 17 00:00:00 2001 From: harry123 Date: Fri, 31 Jan 2025 01:31:05 +0100 Subject: [PATCH] added gaming & model testing related stuff --- hosts/goober/features/software/default.nix | 1 + hosts/goober/features/software/ollama.nix | 9 +++++++++ hosts/goober/features/software/wine.nix | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 hosts/goober/features/software/ollama.nix diff --git a/hosts/goober/features/software/default.nix b/hosts/goober/features/software/default.nix index cce31b4..f69c5e0 100644 --- a/hosts/goober/features/software/default.nix +++ b/hosts/goober/features/software/default.nix @@ -6,6 +6,7 @@ ./neovim.nix ./flatpak.nix ./discord.nix + ./ollama.nix ]; } diff --git a/hosts/goober/features/software/ollama.nix b/hosts/goober/features/software/ollama.nix new file mode 100644 index 0000000..ba252c0 --- /dev/null +++ b/hosts/goober/features/software/ollama.nix @@ -0,0 +1,9 @@ +{config, pkgs, ...}: +{ +services.ollama = { + enable = true; + # Optional: load models on startup + loadModels = [ "deepseek-r1:8b" ]; + acceleration = "cuda"; +}; +} \ No newline at end of file diff --git a/hosts/goober/features/software/wine.nix b/hosts/goober/features/software/wine.nix index 4eeec14..7e2c40c 100644 --- a/hosts/goober/features/software/wine.nix +++ b/hosts/goober/features/software/wine.nix @@ -23,5 +23,8 @@ # native wayland support (unstable) wineWowPackages.waylandFull + + # for easy games gestion + lutris ]; }