Enable network printing and scanning
This commit is contained in:
15
modules/printing.nix
Normal file
15
modules/printing.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user