summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/printing.nix8
-rw-r--r--modules/zeroconf.nix7
2 files changed, 15 insertions, 0 deletions
diff --git a/modules/printing.nix b/modules/printing.nix
new file mode 100644
index 00000000..3172f33b
--- /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 00000000..aa4b47e8
--- /dev/null
+++ b/modules/zeroconf.nix
@@ -0,0 +1,7 @@
+{ config, pkgs, ... }:
+
+{ services.avahi = {
+    enable = true;
+    nssmdns = true;
+  };
+}