From 19dbe42aeb762ec6ddae9e6af20959424857703a Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Sun, 10 May 2015 20:47:50 +0200 Subject: [PATCH] Revert "cups: Rename "browsing" config option to "advertise"" This reverts commit 48e65cec4ecd6bef08233460cf5ffedb023cc7c6. --- 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 f1e652a53bb3..c4691aa663f4 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.advertise respectively. + or services.printing.browsing respectively. diff --git a/nixos/modules/services/printing/cupsd.nix b/nixos/modules/services/printing/cupsd.nix index d7f87413e6c7..fd9589883edc 100644 --- a/nixos/modules/services/printing/cupsd.nix +++ b/nixos/modules/services/printing/cupsd.nix @@ -80,7 +80,7 @@ in ''; }; - advertise = mkOption { + browsing = mkOption { type = types.bool; default = false; description = '' @@ -285,7 +285,7 @@ in DefaultShared ${if cfg.defaultShared then "Yes" else "No"} - Browsing ${if cfg.advertise then "Yes" else "No"} + Browsing ${if cfg.browsing then "Yes" else "No"} WebInterface ${if cfg.webInterface then "Yes" else "No"}