Did printing and scanning stuff.
This commit is contained in:
parent
eccf72a68f
commit
cd0bbe3e19
|
|
@ -9,6 +9,7 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../snippets/samba.nix
|
../../snippets/samba.nix
|
||||||
../../snippets/lix.nix
|
../../snippets/lix.nix
|
||||||
|
../../snippets/scanning.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
|
|
@ -126,7 +127,17 @@
|
||||||
# });
|
# });
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# 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.
|
# Enable SANE for scanning.
|
||||||
# hardware.sane = {
|
# hardware.sane = {
|
||||||
|
|
|
||||||
10
snippets/scanning.nix
Normal file
10
snippets/scanning.nix
Normal 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 ];
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue