<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=NixOS%3AProperties</id>
	<title>NixOS:Properties - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=NixOS%3AProperties"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;action=history"/>
	<updated>2026-05-10T19:54:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.0</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=726&amp;oldid=prev</id>
		<title>imported&gt;Fricklerhandwerk: add category: NixOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=726&amp;oldid=prev"/>
		<updated>2022-08-11T00:36:20Z</updated>

		<summary type="html">&lt;p&gt;add category: NixOS&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:36, 11 August 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkDefaultValue definitions&amp;lt;/code&amp;gt;: A shortcut notation to define default values (priority level of 1000) inside the configuration.  This is extremely useful to avoid references to properties inside the user configuration while overriding the default value of the option.  Any option define without this property will take precedence over it.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkDefaultValue definitions&amp;lt;/code&amp;gt;: A shortcut notation to define default values (priority level of 1000) inside the configuration.  This is extremely useful to avoid references to properties inside the user configuration while overriding the default value of the option.  Any option define without this property will take precedence over it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOrder rank definitions&amp;lt;/code&amp;gt;: Add a rank value to definitions.  This is useful for options where some dependences between definitions exist.  A lower rank will add the definitions among the first definitions.  The default rank is 1000.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOrder rank definitions&amp;lt;/code&amp;gt;: Add a rank value to definitions.  This is useful for options where some dependences between definitions exist.  A lower rank will add the definitions among the first definitions.  The default rank is 1000.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:NixOS]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-725:rev-726:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Fricklerhandwerk</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=725&amp;oldid=prev</id>
		<title>imported&gt;Chuck: Remove mkHeader and mkFooter.  They went away in 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=725&amp;oldid=prev"/>
		<updated>2019-10-11T20:20:40Z</updated>

		<summary type="html">&lt;p&gt;Remove mkHeader and mkFooter.  They went away in 2013&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:20, 11 October 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkDefaultValue definitions&amp;lt;/code&amp;gt;: A shortcut notation to define default values (priority level of 1000) inside the configuration.  This is extremely useful to avoid references to properties inside the user configuration while overriding the default value of the option.  Any option define without this property will take precedence over it.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkDefaultValue definitions&amp;lt;/code&amp;gt;: A shortcut notation to define default values (priority level of 1000) inside the configuration.  This is extremely useful to avoid references to properties inside the user configuration while overriding the default value of the option.  Any option define without this property will take precedence over it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOrder rank definitions&amp;lt;/code&amp;gt;: Add a rank value to definitions.  This is useful for options where some dependences between definitions exist.  A lower rank will add the definitions among the first definitions.  The default rank is 1000.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOrder rank definitions&amp;lt;/code&amp;gt;: Add a rank value to definitions.  This is useful for options where some dependences between definitions exist.  A lower rank will add the definitions among the first definitions.  The default rank is 1000.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;code&amp;gt;mkHeader definitions&amp;lt;/code&amp;gt;: A shortcut notation to define a rank of 10 with &amp;lt;code&amp;gt;mkOrder&amp;lt;/code&amp;gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;code&amp;gt;mkFooter definitions&amp;lt;/code&amp;gt;: A shortcut notation to define a rank of 1000 with &amp;lt;code&amp;gt;mkOrder&amp;lt;/code&amp;gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-724:rev-725:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Chuck</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=724&amp;oldid=prev</id>
		<title>imported&gt;Chuck: The default rank of mkOrder is 1000, not 100, per lib/modules.nix</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=724&amp;oldid=prev"/>
		<updated>2019-10-11T20:19:34Z</updated>

		<summary type="html">&lt;p&gt;The default rank of mkOrder is 1000, not 100, per lib/modules.nix&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:19, 11 October 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOverride priority template definitions&amp;lt;/code&amp;gt;: Currently the same as &amp;lt;code&amp;gt;mkOverrideTemplate&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOverride priority template definitions&amp;lt;/code&amp;gt;: Currently the same as &amp;lt;code&amp;gt;mkOverrideTemplate&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkDefaultValue definitions&amp;lt;/code&amp;gt;: A shortcut notation to define default values (priority level of 1000) inside the configuration.  This is extremely useful to avoid references to properties inside the user configuration while overriding the default value of the option.  Any option define without this property will take precedence over it.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkDefaultValue definitions&amp;lt;/code&amp;gt;: A shortcut notation to define default values (priority level of 1000) inside the configuration.  This is extremely useful to avoid references to properties inside the user configuration while overriding the default value of the option.  Any option define without this property will take precedence over it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOrder rank definitions&amp;lt;/code&amp;gt;: Add a rank value to definitions.  This is useful for options where some dependences between definitions exist.  A lower rank will add the definitions among the first definitions.  The default rank is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOrder rank definitions&amp;lt;/code&amp;gt;: Add a rank value to definitions.  This is useful for options where some dependences between definitions exist.  A lower rank will add the definitions among the first definitions.  The default rank is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1000&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkHeader definitions&amp;lt;/code&amp;gt;: A shortcut notation to define a rank of 10 with &amp;lt;code&amp;gt;mkOrder&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkHeader definitions&amp;lt;/code&amp;gt;: A shortcut notation to define a rank of 10 with &amp;lt;code&amp;gt;mkOrder&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkFooter definitions&amp;lt;/code&amp;gt;: A shortcut notation to define a rank of 1000 with &amp;lt;code&amp;gt;mkOrder&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkFooter definitions&amp;lt;/code&amp;gt;: A shortcut notation to define a rank of 1000 with &amp;lt;code&amp;gt;mkOrder&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-723:rev-724:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Chuck</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=723&amp;oldid=prev</id>
		<title>imported&gt;Ajs124: removed in 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=723&amp;oldid=prev"/>
		<updated>2018-08-25T22:16:36Z</updated>

		<summary type="html">&lt;p&gt;removed in 2012&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:16, 25 August 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkNotdef&amp;lt;/code&amp;gt;: Invalidate a definition.  Any attribute which has this value is considered as not defined in the current module.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkNotdef&amp;lt;/code&amp;gt;: Invalidate a definition.  Any attribute which has this value is considered as not defined in the current module.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkIf condition definitions&amp;lt;/code&amp;gt;: Create a conditional statements around multiple definitions.  The definitions are considered only if the condition is verified.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkIf condition definitions&amp;lt;/code&amp;gt;: Create a conditional statements around multiple definitions.  The definitions are considered only if the condition is verified.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;code&amp;gt;mkThenElse { thenPart = definitions; elsePart = definitions; }&amp;lt;/code&amp;gt;: Create two different evaluations based on the result of all previous &amp;lt;code&amp;gt;mkIf&amp;lt;/code&amp;gt; conditions.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;code&amp;gt;mkAlways&amp;lt;/code&amp;gt;: Ignore all previous &amp;lt;code&amp;gt;mkIf&amp;lt;/code&amp;gt; conditions.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOverrideTemplate priority template definitions&amp;lt;/code&amp;gt;: Set a priority level to all definitions which are enumerated inside the template.  Only definitions with the lower priority level are kept.  The default priority level is 100.  An empty template is considered as all definitions.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOverrideTemplate priority template definitions&amp;lt;/code&amp;gt;: Set a priority level to all definitions which are enumerated inside the template.  Only definitions with the lower priority level are kept.  The default priority level is 100.  An empty template is considered as all definitions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOverride priority template definitions&amp;lt;/code&amp;gt;: Currently the same as &amp;lt;code&amp;gt;mkOverrideTemplate&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;mkOverride priority template definitions&amp;lt;/code&amp;gt;: Currently the same as &amp;lt;code&amp;gt;mkOverrideTemplate&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-722:rev-723:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Ajs124</name></author>
	</entry>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=722&amp;oldid=prev</id>
		<title>imported&gt;Fadenb: Created page with &quot;Properties are used to scope option definitions with control flow statements which do not break (example) the highly recursive...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=NixOS:Properties&amp;diff=722&amp;oldid=prev"/>
		<updated>2017-06-28T20:38:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Properties are used to scope option definitions with control flow statements which do not break (&lt;a href=&quot;/wiki/NixOS:config_argument#Conditional_Statements&quot; title=&quot;NixOS:config argument&quot;&gt;example&lt;/a&gt;) the highly recursive...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Properties are used to scope option definitions with control flow statements which do not break ([[NixOS:config_argument#Conditional_Statements|example]]) the highly recursive process of merging modules.  All properties are defined in [https://github.com/NixOS/nixpkgs/blob/master/lib/modules.nix &amp;lt;code&amp;gt;lib/modules.nix&amp;lt;/code&amp;gt;].&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;mkNotdef&amp;lt;/code&amp;gt;: Invalidate a definition.  Any attribute which has this value is considered as not defined in the current module.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkIf condition definitions&amp;lt;/code&amp;gt;: Create a conditional statements around multiple definitions.  The definitions are considered only if the condition is verified.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkThenElse { thenPart = definitions; elsePart = definitions; }&amp;lt;/code&amp;gt;: Create two different evaluations based on the result of all previous &amp;lt;code&amp;gt;mkIf&amp;lt;/code&amp;gt; conditions.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkAlways&amp;lt;/code&amp;gt;: Ignore all previous &amp;lt;code&amp;gt;mkIf&amp;lt;/code&amp;gt; conditions.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkOverrideTemplate priority template definitions&amp;lt;/code&amp;gt;: Set a priority level to all definitions which are enumerated inside the template.  Only definitions with the lower priority level are kept.  The default priority level is 100.  An empty template is considered as all definitions.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkOverride priority template definitions&amp;lt;/code&amp;gt;: Currently the same as &amp;lt;code&amp;gt;mkOverrideTemplate&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkDefaultValue definitions&amp;lt;/code&amp;gt;: A shortcut notation to define default values (priority level of 1000) inside the configuration.  This is extremely useful to avoid references to properties inside the user configuration while overriding the default value of the option.  Any option define without this property will take precedence over it.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkOrder rank definitions&amp;lt;/code&amp;gt;: Add a rank value to definitions.  This is useful for options where some dependences between definitions exist.  A lower rank will add the definitions among the first definitions.  The default rank is 100.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkHeader definitions&amp;lt;/code&amp;gt;: A shortcut notation to define a rank of 10 with &amp;lt;code&amp;gt;mkOrder&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;mkFooter definitions&amp;lt;/code&amp;gt;: A shortcut notation to define a rank of 1000 with &amp;lt;code&amp;gt;mkOrder&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>imported&gt;Fadenb</name></author>
	</entry>
</feed>