System/modules/printing.nix

17 lines
396 B
Nix
Raw Normal View History

2022-02-15 15:11:41 -05:00
{ config, pkgs, unstable, ... }:
{
2022-02-21 15:31:29 -05:00
imports = [ "$unstable/nixos/modules/services/printing/cupsd.nix" ];
disabledModules = [ "services/printing/cupsd.nix" ];
2022-02-15 15:11:41 -05:00
services.printing = {
enable = true;
drivers = [
# My printer requires at least v5 to run, 21.11 has 3.70
unstable.canon-cups-ufr2
];
};
2022-02-21 15:31:29 -05:00
environment.systemPackages = [
unstable.canon-cups-ufr2
];
2022-02-15 15:11:41 -05:00
}