revert flake
This commit is contained in:
@@ -4,16 +4,16 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# Activer Ollama comme service
|
# Activer Ollama comme service
|
||||||
services.ollama = {
|
# services.ollama = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
acceleration = "cuda";
|
# acceleration = "cuda";
|
||||||
environmentVariables = {
|
# environmentVariables = {
|
||||||
OLLAMA_FLASH_ATTENTION = "1"; # ← Flash Attention
|
# OLLAMA_FLASH_ATTENTION = "1"; # ← Flash Attention
|
||||||
OLLAMA_NUM_PARALLEL = "2"; # ← Requêtes parallèles
|
# OLLAMA_NUM_PARALLEL = "2"; # ← Requêtes parallèles
|
||||||
OLLAMA_MAX_LOADED_MODELS = "1"; # ← Garder 2 modèles en VRAM
|
# OLLAMA_MAX_LOADED_MODELS = "1"; # ← Garder 2 modèles en VRAM
|
||||||
OLLAMA_KEEP_ALIVE = "5m";
|
# OLLAMA_KEEP_ALIVE = "5m";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
# services.open-webui = {
|
# services.open-webui = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# port = 8080; # Port par défaut
|
# port = 8080; # Port par défaut
|
||||||
|
|||||||
18
modules/optionnals/desktop/gaming.nix
Normal file
18
modules/optionnals/desktop/gaming.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
hardware.graphics.enable32Bit = true;
|
||||||
|
programs.steam.enable = true;
|
||||||
|
programs.steam.gamescopeSession.enable = true;
|
||||||
|
programs.gamemode.enable = true;
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
vulkan-tools
|
||||||
|
lutris
|
||||||
|
wine-staging
|
||||||
|
winetricks
|
||||||
|
mangohud
|
||||||
|
protonup
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../ai.nix
|
#../ai.nix
|
||||||
../autologin.nix
|
../autologin.nix
|
||||||
../k8s.nix
|
../k8s.nix
|
||||||
../libvirt.nix
|
../libvirt.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user