Compare commits

..

3 commits

Author SHA1 Message Date
ant
ce7f86d2e2 update flake inputs
All checks were successful
/ build-all (push) Successful in 8m7s
2026-01-24 15:15:55 +01:00
ant
cd668264a5 disable llama things 2026-01-24 15:15:44 +01:00
ant
adb56935a1 basado: add ant to gamemode group 2026-01-24 15:15:27 +01:00
2 changed files with 41 additions and 20 deletions

24
flake.lock generated
View file

@ -123,11 +123,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765170903, "lastModified": 1768949235,
"narHash": "sha256-O8VTGey1xxiRW+Fpb+Ps9zU7ShmxUA1a7cMTcENCVNg=", "narHash": "sha256-TtjKgXyg1lMfh374w5uxutd6Vx2P/hU81aEhTxrO2cg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "20561be440a11ec57a89715480717baf19fe6343", "rev": "75ed713570ca17427119e7e204ab3590cc3bf2a5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -160,11 +160,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1764983851, "lastModified": 1769089682,
"narHash": "sha256-y7RPKl/jJ/KAP/VKLMghMgXTlvNIJMHKskl8/Uuar7o=", "narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d9bc5c7dceb30d8d6fafa10aeb6aa8a48c218454", "rev": "078d69f03934859a181e81ba987c2bb033eebfc5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -224,11 +224,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1764185122, "lastModified": 1766537863,
"narHash": "sha256-+HUOwSIFLoyett2cvRjuFIbhobpHallfP9J2cia1apo=", "narHash": "sha256-HEt+wbazRgJYeY+lgj65bxhPyVc4x7NEB2bs5NU6DF8=",
"owner": "simple-nixos-mailserver", "owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver", "repo": "nixos-mailserver",
"rev": "a14fe3b293ec2720e5b7fc72ad136d22967e12ba", "rev": "23f0a53ca6e58e61e1ea2b86791c69b79c91656d",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -287,11 +287,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1764950072, "lastModified": 1769018530,
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=", "narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f61125a668a320878494449750330ca58b78c557", "rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -43,7 +43,7 @@ in
shell = pkgs.fish; shell = pkgs.fish;
description = "ant"; description = "ant";
extraGroups = extraGroups =
[ "networkmanager" "wheel" "video" "libvirtd" "msr" "docker" ]; [ "networkmanager" "wheel" "video" "libvirtd" "msr" "docker" "gamemode" ];
packages = with pkgs; [ ]; packages = with pkgs; [ ];
}; };
@ -87,13 +87,34 @@ in
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
services.ollama = { # services.llama-cpp = {
enable = true; # package = pkgs-unstable.llama-cpp-vulkan;
acceleration = "cuda"; # enable = true;
}; # port = 8182;
services.open-webui = { # model = "/home/ant/models/Qwen3-4B-Instruct-2507-UD-Q8_K_XL.gguf";
enable = true; # extraFlags = [
}; # "-fa" "on"
# "--jinja"
# "--cache-reuse" "256"
# "--reasoning-format" "auto"
# "--ctx-size" "16384"
# "--n-gpu-layers" "999"
# "--cache-type-k" "q4_0"
# "--cache-type-v" "q4_0"
# "--n-cpu-moe" "25"
# ];
# };
# systemd.services.llama-cpp = {
# environment.XDG_CACHE_HOME = "/var/cache/llama.cpp";
# serviceConfig.CacheDirectory = "llama.cpp";
# };
# services.ollama = {
# enable = true;
# acceleration = "cuda";
# };
# services.open-webui = {
# enable = true;
# };
services.immich.enable = true; services.immich.enable = true;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default