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/logitech.nix
./modules/qemu.nix ./modules/qemu.nix
./modules/docker.nix ./modules/docker.nix
./modules/printing.nix
./applications/communications.nix ./applications/communications.nix
./applications/devel-core.nix ./applications/devel-core.nix
./applications/devel-rust.nix ./applications/devel-rust.nix

View File

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