From a62b8eda21da773e055e8279c504c7e54a8133d7 Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Wed, 31 Jul 2024 16:26:45 +0200 Subject: [PATCH] printing --- common/base.nix | 2 ++ common/services/usbguard.nix | 2 ++ hosts/stuff/configuration.nix | 2 ++ hosts/yaseen/configuration.nix | 2 ++ 4 files changed, 8 insertions(+) diff --git a/common/base.nix b/common/base.nix index 87dbee2..f052da6 100644 --- a/common/base.nix +++ b/common/base.nix @@ -93,6 +93,8 @@ # "libnvjitlink" # "libcusparse" # "libnpp" + + "cnijfilter2" ]; }; diff --git a/common/services/usbguard.nix b/common/services/usbguard.nix index a5e483e..61dde57 100644 --- a/common/services/usbguard.nix +++ b/common/services/usbguard.nix @@ -33,6 +33,8 @@ allow id 18d1:4ee1 serial "28051FDH200ATC" name "Pixel 7" allow id 2717:ff40 serial "52bb384f0512" name "Redmi 10 2022" + + allow id 04a9:178a serial "G04A4A" name "MG3600 series" ''; }; } diff --git a/hosts/stuff/configuration.nix b/hosts/stuff/configuration.nix index 85a6134..ef097af 100644 --- a/hosts/stuff/configuration.nix +++ b/hosts/stuff/configuration.nix @@ -44,6 +44,8 @@ in { enableKwallet = true; }; + services.printing.drivers = [ pkgs.cnijfilter2 ]; + environment.systemPackages = with pkgs; [ # Additional system packages here zoxide diff --git a/hosts/yaseen/configuration.nix b/hosts/yaseen/configuration.nix index 4da849b..512f148 100644 --- a/hosts/yaseen/configuration.nix +++ b/hosts/yaseen/configuration.nix @@ -161,6 +161,8 @@ in { ]; }; + services.printing.drivers = [ pkgs.cnijfilter2 ]; + services.ollama = { enable = true; # acceleration = "cuda";