Enable network printing and scanning

This commit is contained in:
2020-05-14 03:04:30 +02:00
parent b977babf29
commit 92d27c0020
3 changed files with 19 additions and 1 deletions

15
modules/printing.nix Normal file
View File

@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
# Enable CUPS
services.printing.enable = true;
# Enable SANE
hardware.sane = {
enable = true;
netConf = ''
192.168.1.2
10.8.0.1
'';
};
}