nix/config/Print.nix

16 lines
244 B
Nix
Raw Permalink Normal View History

{ config, lib, ... }:
let
cfg = config.module.print;
in
{
config = lib.mkIf cfg.enable {
services.printing = {
enable = true;
clientConf = ''
DigestOptions DenyMD5
ServerName 10.0.0.1
'';
};
};
}