From 2d7abbb2760bc344ecd4c052553d14b6ef75e2aa Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 25 May 2025 21:01:34 +0200 Subject: [PATCH] more ai models + update flatpaks --- share/common.nix | 2 +- share/flatpak.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/share/common.nix b/share/common.nix index a827519..994c285 100644 --- a/share/common.nix +++ b/share/common.nix @@ -582,7 +582,7 @@ in enable = true; # preload models, see https://ollama.com/library - loadModels = [ "deepseek-r1" "gemma3" "llama3.2" "llava" "mistral" ]; + loadModels = [ "deepseek-coder" "deepseek-r1" "gemma3" "llama3.2" "llava" "mistral" ]; }; services.open-webui.enable = true; diff --git a/share/flatpak.nix b/share/flatpak.nix index 260d8ae..e2920ba 100644 --- a/share/flatpak.nix +++ b/share/flatpak.nix @@ -7,13 +7,13 @@ let # all wanted flatpak packages desiredFlatpaks = { - # slicers needs accessed to shared folder with 3d stuff + # slicer needs accessed to shared folder with 3d stuff "com.bambulab.BambuStudio" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures --filesystem=/data/home/shared"; - "com.prusa3d.PrusaSlicer" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures --filesystem=/data/home/shared"; - # maximal sandboxed stuff for games - "com.usebottles.bottles" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures"; - "com.valvesoftware.Steam" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures"; + # maximal sandboxed stuff for games, allow ~/Games for local game collection + "com.usebottles.bottles" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures --filesystem=~/Games"; + "com.valvesoftware.Steam" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures --filesystem=~/Games"; + "org.libretro.RetroArch" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures --filesystem=~/Games"; # maximal sandboxed browsers "com.brave.Browser" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures";