Printing take 2
This commit is contained in:
parent
9903be48ec
commit
b84aceaaba
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue