cups: Rename "browsing" config option to "advertise"

authored by Jascha Geerds and committed by Domen Kožar 48e65cec 11600670

+3 -3
+1 -1
nixos/doc/manual/release-notes/rl-unstable.xml
··· 57 <para> 58 Local printers are no longer shared or advertised by default. This behavior 59 can be changed by enabling <literal>services.printing.defaultShared</literal> 60 - or <literal>services.printing.browsing</literal> respectively. 61 </para> 62 </listitem> 63
··· 57 <para> 58 Local printers are no longer shared or advertised by default. This behavior 59 can be changed by enabling <literal>services.printing.defaultShared</literal> 60 + or <literal>services.printing.advertise</literal> respectively. 61 </para> 62 </listitem> 63
+2 -2
nixos/modules/services/printing/cupsd.nix
··· 80 ''; 81 }; 82 83 - browsing = mkOption { 84 type = types.bool; 85 default = false; 86 description = '' ··· 285 286 DefaultShared ${if cfg.defaultShared then "Yes" else "No"} 287 288 - Browsing ${if cfg.browsing then "Yes" else "No"} 289 290 WebInterface ${if cfg.webInterface then "Yes" else "No"} 291
··· 80 ''; 81 }; 82 83 + advertise = mkOption { 84 type = types.bool; 85 default = false; 86 description = '' ··· 285 286 DefaultShared ${if cfg.defaultShared then "Yes" else "No"} 287 288 + Browsing ${if cfg.advertise then "Yes" else "No"} 289 290 WebInterface ${if cfg.webInterface then "Yes" else "No"} 291