fix: printer

This commit is contained in:
2026-01-23 18:32:10 -05:00
parent cbcf476002
commit abcbc3250a
4 changed files with 12 additions and 13 deletions

View File

@@ -21,11 +21,9 @@ in
-c ''${ctx} \
--jinja \
--threads -1 \
--temp 0.2 \
--top-k 50 \
--top-p 0.95 \
--temp 0.7 \
--top-p 1.0 \
--min-p 0.01 \
--dry-multiplier 1.1 \
-fit off
'';
metadata = {

View File

@@ -24,7 +24,7 @@
*Manufacturer: "Canon"
*NickName: "Canon PIXMA iX6820-AirPrint"
*Throughput: 12
*APSupplies: "http://954290000000.local/index.html?PAGE_AAP"
*APSupplies: "http://10.0.60.45/index.html?PAGE_AAP"
*cupsSingleFile: True
*cupsFilter2: "image/jpeg image/jpeg 0 maxsize(12582912) -"
*cupsFilter: "image/jpeg 0 -"

View File

@@ -1,8 +1,9 @@
{ config
, lib
, pkgs
, namespace
, ...
{
config,
lib,
pkgs,
namespace,
...
}:
let
inherit (lib) mkIf mkEnableOption;
@@ -21,7 +22,7 @@ in
{
name = "Canon_PIXMA_iX6820";
location = "Home";
deviceUri = "ipp://954290000000.local:631/ipp/print";
deviceUri = "ipp://10.0.60.45:631/ipp/print";
model = "Canon_PIXMA_iX6820.ppd";
ppdOptions = {
PageSize = "4x6.Fullbleed";

View File

@@ -7,12 +7,12 @@
vulkanSupport = true;
}).overrideAttrs
(oldAttrs: rec {
version = "7781";
version = "7789";
src = pkgs.fetchFromGitHub {
owner = "ggml-org";
repo = "llama.cpp";
tag = "b${version}";
hash = "sha256-1ikFB4pnhSwnVPWfyQbT/7BqeyswvLNCx+aDo/ORjN0=";
hash = "sha256-mARfNYK4fbyzIAhe6wwhiKAVwAq8otiezIdQ2kFtoVc=";
leaveDotGit = true;
postFetch = ''
git -C "$out" rev-parse --short HEAD > $out/COMMIT