Compare commits
3 commits
1000c9665a
...
ce7f86d2e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce7f86d2e2 | ||
|
|
cd668264a5 | ||
|
|
adb56935a1 |
2 changed files with 41 additions and 20 deletions
24
flake.lock
generated
24
flake.lock
generated
|
|
@ -123,11 +123,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765170903,
|
||||
"narHash": "sha256-O8VTGey1xxiRW+Fpb+Ps9zU7ShmxUA1a7cMTcENCVNg=",
|
||||
"lastModified": 1768949235,
|
||||
"narHash": "sha256-TtjKgXyg1lMfh374w5uxutd6Vx2P/hU81aEhTxrO2cg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "20561be440a11ec57a89715480717baf19fe6343",
|
||||
"rev": "75ed713570ca17427119e7e204ab3590cc3bf2a5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -160,11 +160,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1764983851,
|
||||
"narHash": "sha256-y7RPKl/jJ/KAP/VKLMghMgXTlvNIJMHKskl8/Uuar7o=",
|
||||
"lastModified": 1769089682,
|
||||
"narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d9bc5c7dceb30d8d6fafa10aeb6aa8a48c218454",
|
||||
"rev": "078d69f03934859a181e81ba987c2bb033eebfc5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -224,11 +224,11 @@
|
|||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1764185122,
|
||||
"narHash": "sha256-+HUOwSIFLoyett2cvRjuFIbhobpHallfP9J2cia1apo=",
|
||||
"lastModified": 1766537863,
|
||||
"narHash": "sha256-HEt+wbazRgJYeY+lgj65bxhPyVc4x7NEB2bs5NU6DF8=",
|
||||
"owner": "simple-nixos-mailserver",
|
||||
"repo": "nixos-mailserver",
|
||||
"rev": "a14fe3b293ec2720e5b7fc72ad136d22967e12ba",
|
||||
"rev": "23f0a53ca6e58e61e1ea2b86791c69b79c91656d",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -287,11 +287,11 @@
|
|||
},
|
||||
"unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1764950072,
|
||||
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=",
|
||||
"lastModified": 1769018530,
|
||||
"narHash": "sha256-MJ27Cy2NtBEV5tsK+YraYr2g851f3Fl1LpNHDzDX15c=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f61125a668a320878494449750330ca58b78c557",
|
||||
"rev": "88d3861acdd3d2f0e361767018218e51810df8a1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ in
|
|||
shell = pkgs.fish;
|
||||
description = "ant";
|
||||
extraGroups =
|
||||
[ "networkmanager" "wheel" "video" "libvirtd" "msr" "docker" ];
|
||||
[ "networkmanager" "wheel" "video" "libvirtd" "msr" "docker" "gamemode" ];
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
|
||||
|
|
@ -87,13 +87,34 @@ in
|
|||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "cuda";
|
||||
};
|
||||
services.open-webui = {
|
||||
enable = true;
|
||||
};
|
||||
# services.llama-cpp = {
|
||||
# package = pkgs-unstable.llama-cpp-vulkan;
|
||||
# enable = true;
|
||||
# port = 8182;
|
||||
# model = "/home/ant/models/Qwen3-4B-Instruct-2507-UD-Q8_K_XL.gguf";
|
||||
# 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;
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue