summary refs log tree commit diff stats
path: root/sys/services
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-02 10:20:53 +0200
committersils <sils@sils.li>2023-07-02 10:20:53 +0200
commiteff1dc6da64a91d5664fe0276d4123cc0b1df6ae (patch)
tree279c62aff3eeae6992ed700ddf4231a04554f86f /sys/services
parentFeat(s/environment): Add crypttab (diff)
downloadnix-config-eff1dc6da64a91d5664fe0276d4123cc0b1df6ae.tar.gz
nix-config-eff1dc6da64a91d5664fe0276d4123cc0b1df6ae.zip
Fix(sys): Yank printing out of host
Diffstat (limited to 'sys/services')
-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;
+    };
+  };
+}