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} \ -c ''${ctx} \
--jinja \ --jinja \
--threads -1 \ --threads -1 \
--temp 0.2 \ --temp 0.7 \
--top-k 50 \ --top-p 1.0 \
--top-p 0.95 \
--min-p 0.01 \ --min-p 0.01 \
--dry-multiplier 1.1 \
-fit off -fit off
''; '';
metadata = { metadata = {

View File

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

View File

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

View File

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