Did printing and scanning stuff.

This commit is contained in:
vorboyvo 2026-04-23 17:33:58 -04:00
parent eccf72a68f
commit cd0bbe3e19
2 changed files with 22 additions and 1 deletions

View file

@ -9,6 +9,7 @@
./hardware-configuration.nix
../../snippets/samba.nix
../../snippets/lix.nix
../../snippets/scanning.nix
];
################################################
@ -126,7 +127,17 @@
# });
# Enable CUPS to print documents.
services.printing.enable = true;
services.printing = {
enable = true;
drivers = with pkgs; [
cups-filters
# driverless
ghostscript
colord
];
logLevel = "debug";
};
# services.printing.enable = false;
# Enable SANE for scanning.
# hardware.sane = {

10
snippets/scanning.nix Normal file
View file

@ -0,0 +1,10 @@
# for configuration.nix
{ config, lib, pkgs, ... }:
{
hardware.sane = {
enable = true;
extraBackends = [ pkgs.sane-airscan pkgs.epkowa ];
};
environment.systemPackages = with pkgs; [ naps2 ];
}