summaryrefslogtreecommitdiff
path: root/features/system/services/bundles
diff options
context:
space:
mode:
authoroutremonde <outremonde@vivaldi.net>2025-06-10 20:32:00 -0400
committeroutremonde <outremonde@vivaldi.net>2025-06-10 20:32:00 -0400
commit9786eb8672213344d8d1b7bdef12bc94510b20db (patch)
treeb7d79440800c92d32187ab32c636b0830c94a610 /features/system/services/bundles
initialized repository
Former-commit-id: 84647f22b951a957b2b83885b612115d473f6626
Diffstat (limited to 'features/system/services/bundles')
-rw-r--r--features/system/services/bundles/printing.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/features/system/services/bundles/printing.nix b/features/system/services/bundles/printing.nix
new file mode 100644
index 0000000..ea255be
--- /dev/null
+++ b/features/system/services/bundles/printing.nix
@@ -0,0 +1,13 @@
+{ config, lib, ... }: let
+ cfg = config.features.services.bundles.printing;
+in {
+ options.features.services.bundles.printing.enable = lib.mkEnableOption "printing";
+ config = lib.mkIf cfg.enable {
+ services.printing.enable = true;
+ services.avahi = {
+ enable = true;
+ nssmdns4 = true;
+ openFirewall = true;
+ };
+ };
+}