This commit is contained in:
root 2026-05-02 10:03:39 -03:00
parent 73ff9ee8ee
commit 664eb70e8c
No known key found for this signature in database
14 changed files with 698 additions and 495 deletions

View file

@ -2,6 +2,10 @@
{
environment.systemPackages = with pkgs; [
bat
bc
(pkgs.writeShellScriptBin "bci" ''
echo "$@" | ${bc}/bin/bc -l
'')
black
blade-formatter
cmake
@ -15,6 +19,7 @@
clang-tools
clevis
cliphist
chromium
distrobox
dos2unix
dnsutils
@ -23,6 +28,7 @@
eza
fd
ffmpeg
file
fira-code-symbols
fish
fractal
@ -46,9 +52,10 @@
poppler
jetbrains.datagrip
jq
kitty
lazygit
(pkgs.writeShellScriptBin "lf" ''
cd_file="/tmp/lf-lastdir-$$"
cd_file="/tmp/lf-lastdir"
${pkgs.lf}/bin/lf "$@"
@ -81,12 +88,13 @@
php84Packages.composer
php84Packages.php-cs-fixer
phpactor
pistol
podman-compose
podman-tui
prettierd
playerctl
qemu_full
qmk
quickemu
quickshell
resvg
ripgrep
@ -104,7 +112,6 @@
tmux
thunderbird
tor-browser
ungoogled-chromium
unzip
virt-manager
virt-viewer
@ -146,12 +153,7 @@
virtualisation.podman = {
enable = true;
dockerCompat = true;
# rootless = {
# enable = true;
# setSocketVariable = true;
# };
defaultNetwork.settings.dns_enabled = true;
# storageDriver = "btrfs";
};
virtualisation.spiceUSBRedirection.enable = true;
@ -163,7 +165,7 @@
onBoot = "ignore";
onShutdown = "shutdown";
qemu = {
package = pkgs.qemu_full;
package = pkgs.qemu;
verbatimConfig = ''
cgroup_device_acl = [
"/dev/null", "/dev/full", "/dev/zero",
@ -228,16 +230,15 @@
};
};
# services.ollama = {
# enable = true;
# package = pkgs.ollama-cuda;
# home = "/data/ollama";
# user = "ollama";
# group = "user";
# loadModels = [
# "llama3"
# ];
# };
services.ollama = {
enable = true;
package = pkgs.ollama-cuda;
home = "/data/ollama";
loadModels = [
"qwen3.6"
"glm-5.1"
];
};
# services.open-webui = {
# enable = true;
# port = 11347;