···103103 pathContent = lib.attrByPath prefix null pkgs;
104104 in
105105 if pathContent == null then
106106- builtins.throw "Attribute path `${path}` does not exists."
106106+ builtins.throw "Attribute path `${path}` does not exist."
107107 else
108108 packagesWithPath prefix (path: pkg: builtins.hasAttr "updateScript" pkg)
109109 pathContent;
···115115 package = lib.attrByPath (lib.splitString "." path) null pkgs;
116116 in
117117 if package == null then
118118- builtins.throw "Package with an attribute name `${path}` does not exists."
118118+ builtins.throw "Package with an attribute name `${path}` does not exist."
119119 else if ! builtins.hasAttr "updateScript" package then
120120 builtins.throw "Package with an attribute name `${path}` does not have a `passthru.updateScript` attribute defined."
121121 else
+16
nixos/doc/manual/man-nixos-rebuild.xml
···553553554554 <varlistentry>
555555 <term>
556556+ <option>--use-substitutes</option>
557557+ </term>
558558+ <listitem>
559559+ <para>
560560+ When set, nixos-rebuild will add <option>--use-substitutes</option>
561561+ to each invocation of nix-copy-closure. This will only affect the
562562+ behavior of nixos-rebuild if <option>--target-host</option> or
563563+ <option>--build-host</option> is also set. This is useful when
564564+ the target-host connection to cache.nixos.org is faster than the
565565+ connection between hosts.
566566+ </para>
567567+ </listitem>
568568+ </varlistentry>
569569+570570+ <varlistentry>
571571+ <term>
556572 <option>--use-remote-sudo</option>
557573 </term>
558574 <listitem>
+26-1
nixos/modules/services/audio/spotifyd.nix
···4455let
66 cfg = config.services.spotifyd;
77- spotifydConf = pkgs.writeText "spotifyd.conf" cfg.config;
77+ toml = pkgs.formats.toml {};
88+ warnConfig =
99+ if cfg.config != ""
1010+ then lib.trace "Using the stringly typed .config attribute is discouraged. Use the TOML typed .settings attribute instead."
1111+ else id;
1212+ spotifydConf =
1313+ if cfg.settings != {}
1414+ then toml.generate "spotify.conf" cfg.settings
1515+ else warnConfig (pkgs.writeText "spotifyd.conf" cfg.config);
816in
917{
1018 options = {
···1523 default = "";
1624 type = types.lines;
1725 description = ''
2626+ (Deprecated) Configuration for Spotifyd. For syntax and directives, see
2727+ <link xlink:href="https://github.com/Spotifyd/spotifyd#Configuration"/>.
2828+ '';
2929+ };
3030+3131+ settings = mkOption {
3232+ default = {};
3333+ type = toml.type;
3434+ example = { global.bitrate = 320; };
3535+ description = ''
1836 Configuration for Spotifyd. For syntax and directives, see
1937 <link xlink:href="https://github.com/Spotifyd/spotifyd#Configuration"/>.
2038 '';
···2341 };
24422543 config = mkIf cfg.enable {
4444+ assertions = [
4545+ {
4646+ assertion = cfg.config == "" || cfg.settings == {};
4747+ message = "At most one of the .config attribute and the .settings attribute may be set";
4848+ }
4949+ ];
5050+2651 systemd.services.spotifyd = {
2752 wantedBy = [ "multi-user.target" ];
2853 after = [ "network-online.target" "sound.target" ];
+1-1
nixos/modules/services/backup/znapzend.nix
···324324 autoCreation = mkOption {
325325 type = bool;
326326 default = false;
327327- description = "Automatically create the destination dataset if it does not exists.";
327327+ description = "Automatically create the destination dataset if it does not exist.";
328328 };
329329330330 zetup = mkOption {
+1-1
nixos/modules/services/monitoring/nagios.nix
···4141 validated = pkgs.runCommand "nagios-checked.cfg" {preferLocalBuild=true;} ''
4242 cp ${file} nagios.cfg
4343 # nagios checks the existence of /var/lib/nagios, but
4444- # it does not exists in the build sandbox, so we fake it
4444+ # it does not exist in the build sandbox, so we fake it
4545 mkdir lib
4646 lib=$(readlink -f lib)
4747 sed -i s@=${nagiosState}@=$lib@ nagios.cfg
···119119 password, and the <option>syncserver.secret</option> setting is used by the server to
120120 generate cryptographically-signed authentication tokens.
121121122122- If this file does not exists, then it is created with a generated
122122+ If this file does not exist, then it is created with a generated
123123 <option>syncserver.secret</option> settings.
124124 '';
125125 };
···2525 else "");
2626in stdenv.mkDerivation rec {
2727 pname = "signal-desktop";
2828- version = "5.16.0"; # Please backport all updates to the stable channel.
2828+ version = "5.17.0"; # Please backport all updates to the stable channel.
2929 # All releases have a limited lifetime and "expire" 90 days after the release.
3030 # When releases "expire" the application becomes unusable until an update is
3131 # applied. The expiration date for the current release can be extracted with:
···35353636 src = fetchurl {
3737 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
3838- sha256 = "1na5ja68h14smfwxrli1kfr6fhf5dshyvcdaj0c4mwms838bdl4j";
3838+ sha256 = "1m3bkrshlipxlbf4xr7gpw3zn1k39cdysrqmw705hy2cwf7pw7yy";
3939 };
40404141 nativeBuildInputs = [
···67676868 export ANDROID_SERIAL="emulator-$port"
69697070- # Create a virtual android device for testing if it does not exists
7070+ # Create a virtual android device for testing if it does not exist
7171 ${sdk}/libexec/android-sdk/tools/bin/avdmanager list target
72727373 if [ "$(${sdk}/libexec/android-sdk/tools/android list avd | grep 'Name: device')" = "" ]
···66}:
77##User Input
88{ settings ? {}
99-# if marked as true will create an empty json file if does not exists
99+# if marked as true will create an empty json file if does not exist
1010, createIfDoesNotExists ? true
1111, vscodeSettingsFile ? ".vscode/settings.json"
1212, userSettingsFolder ? ""