summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/services/default.nix1
-rw-r--r--sys/services/printing/default.nix9
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/services/default.nix b/sys/services/default.nix
index 5a7a351..15e4299 100644
--- a/sys/services/default.nix
+++ b/sys/services/default.nix
@@ -2,5 +2,6 @@
   imports = [
     ./fwupd
     ./logind
+    ./printing
   ];
 }
diff --git a/sys/services/printing/default.nix b/sys/services/printing/default.nix
new file mode 100644
index 0000000..2bdcf7a
--- /dev/null
+++ b/sys/services/printing/default.nix
@@ -0,0 +1,9 @@
+{...}: {
+  services = {
+    printing.enable = true;
+    avahi = {
+      enable = true;
+      openFirewall = true;
+    };
+  };
+}