Printing take 2

This commit is contained in:
Nathan McCarty 2022-02-22 04:54:51 -05:00
parent 9903be48ec
commit b84aceaaba
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 9 additions and 6 deletions

View File

@ -64,6 +64,7 @@
./modules/logitech.nix
./modules/qemu.nix
./modules/docker.nix
./modules/printing.nix
./applications/communications.nix
./applications/devel-core.nix
./applications/devel-rust.nix

View File

@ -1,16 +1,18 @@
{ config, pkgs, unstable, ... }:
{
imports = [ "$unstable/nixos/modules/services/printing/cupsd.nix" ];
disabledModules = [ "services/printing/cupsd.nix" ];
nixpkgs.config.packageOverrides = pkgs: {
canon-cups-ufr2 = unstable.canon-cups-ufr2;
};
services.printing = {
enable = true;
drivers = [
# My printer requires at least v5 to run, 21.11 has 3.70
unstable.canon-cups-ufr2
pkgs.canon-cups-ufr2
];
};
environment.systemPackages = [
unstable.canon-cups-ufr2
environment.systemPackages = with pkgs; [
canon-cups-ufr2
cups
];
}