diff options
author | Alan Pearce | 2017-09-13 09:45:53 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-13 09:45:53 +0200 |
commit | 0fa96641a6ad7e37cc8013b73348392b3465f1a9 (patch) | |
tree | b246f65f9d1ecf03c525e3d409db3aa56b62da3c /modules | |
parent | 4d814ea9e74052f851a498fc6ee95e850a374636 (diff) | |
download | nixos-configuration-0fa96641a6ad7e37cc8013b73348392b3465f1a9.tar.lz nixos-configuration-0fa96641a6ad7e37cc8013b73348392b3465f1a9.tar.zst nixos-configuration-0fa96641a6ad7e37cc8013b73348392b3465f1a9.zip |
Add services for printing via network
Diffstat (limited to 'modules')
-rw-r--r-- | modules/printing.nix | 8 | ||||
-rw-r--r-- | modules/zeroconf.nix | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/modules/printing.nix b/modules/printing.nix new file mode 100644 index 0000000..3172f33 --- /dev/null +++ b/modules/printing.nix @@ -0,0 +1,8 @@ +{ config, pkgs, ... }: + +{ services.printing.enable = true; + + imports = [ + ./zeroconf.nix + ]; +} diff --git a/modules/zeroconf.nix b/modules/zeroconf.nix new file mode 100644 index 0000000..aa4b47e --- /dev/null +++ b/modules/zeroconf.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ services.avahi = { + enable = true; + nssmdns = true; + }; +} |