System/modules/printing.nix

19 lines
314 B
Nix
Raw Normal View History

2022-02-15 15:11:41 -05:00
{ config, pkgs, unstable, ... }:
{
2022-02-22 04:54:51 -05:00
nixpkgs.config.packageOverrides = pkgs: {
canon-cups-ufr2 = unstable.canon-cups-ufr2;
};
2022-02-15 15:11:41 -05:00
services.printing = {
enable = true;
drivers = [
2022-02-22 04:54:51 -05:00
pkgs.canon-cups-ufr2
2022-02-15 15:11:41 -05:00
];
};
2022-02-21 15:31:29 -05:00
2022-02-22 04:54:51 -05:00
environment.systemPackages = with pkgs; [
canon-cups-ufr2
cups
2022-02-21 15:31:29 -05:00
];
2022-02-15 15:11:41 -05:00
}