summaryrefslogtreecommitdiff
path: root/modules/system/services/printing.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-05 11:24:33 -0700
committerFuwn <[email protected]>2024-09-05 11:24:33 -0700
commit346fc86eeb7f9e7f7028fd2ff4c201af9a3053ec (patch)
tree9af288a724b9a834d3a361e65f035bc75279553f /modules/system/services/printing.nix
parentBump (diff)
downloadnixos-config-346fc86eeb7f9e7f7028fd2ff4c201af9a3053ec.tar.xz
nixos-config-346fc86eeb7f9e7f7028fd2ff4c201af9a3053ec.zip
Bump
Diffstat (limited to 'modules/system/services/printing.nix')
-rw-r--r--modules/system/services/printing.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/system/services/printing.nix b/modules/system/services/printing.nix
new file mode 100644
index 0000000..f7a38de
--- /dev/null
+++ b/modules/system/services/printing.nix
@@ -0,0 +1,19 @@
+{ pkgs, ... }:
+{
+ services = {
+ printing = {
+ enable = true;
+
+ drivers = with pkgs; [
+ gutenprint
+ hplip
+ ];
+ };
+
+ avahi = {
+ enable = true;
+ nssmdns4 = true;
+ openFirewall = true;
+ };
+ };
+}