Add services for printing via network
Alan Pearce alan@alanpearce.eu
Wed, 13 Sep 2017 09:45:53 +0200
2 files changed, 15 insertions(+), 0 deletions(-)
A modules/printing.nix
@@ -0,0 +1,8 @@+{ config, pkgs, ... }: + +{ services.printing.enable = true; + + imports = [ + ./zeroconf.nix + ]; +}
A modules/zeroconf.nix
@@ -0,0 +1,7 @@+{ config, pkgs, ... }: + +{ services.avahi = { + enable = true; + nssmdns = true; + }; +}