From 48e65cec4ecd6bef08233460cf5ffedb023cc7c6 Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Sun, 10 May 2015 00:04:59 +0200 Subject: [PATCH] cups: Rename "browsing" config option to "advertise" --- nixos/doc/manual/release-notes/rl-unstable.xml | 2 +- nixos/modules/services/printing/cupsd.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-unstable.xml b/nixos/doc/manual/release-notes/rl-unstable.xml index c4691aa663f4..f1e652a53bb3 100644 --- a/nixos/doc/manual/release-notes/rl-unstable.xml +++ b/nixos/doc/manual/release-notes/rl-unstable.xml @@ -57,7 +57,7 @@ was accordingly renamed to bomi Local printers are no longer shared or advertised by default. This behavior can be changed by enabling services.printing.defaultShared - or services.printing.browsing respectively. + or services.printing.advertise respectively. diff --git a/nixos/modules/services/printing/cupsd.nix b/nixos/modules/services/printing/cupsd.nix index fd9589883edc..d7f87413e6c7 100644 --- a/nixos/modules/services/printing/cupsd.nix +++ b/nixos/modules/services/printing/cupsd.nix @@ -80,7 +80,7 @@ in ''; }; - browsing = mkOption { + advertise = mkOption { type = types.bool; default = false; description = '' @@ -285,7 +285,7 @@ in DefaultShared ${if cfg.defaultShared then "Yes" else "No"} - Browsing ${if cfg.browsing then "Yes" else "No"} + Browsing ${if cfg.advertise then "Yes" else "No"} WebInterface ${if cfg.webInterface then "Yes" else "No"}