all repos — nixfiles @ 0fa96641a6ad7e37cc8013b73348392b3465f1a9

System and user configuration, managed by nix and home-manager

Add services for printing via network

Alan Pearce
commit

0fa96641a6ad7e37cc8013b73348392b3465f1a9

parent

4d814ea9e74052f851a498fc6ee95e850a374636

2 files changed, 15 insertions(+), 0 deletions(-)

jump to
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; + }; +}