1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
This commit is contained in:
teto 2021-05-18 23:36:52 +00:00
parent 450aba73a6
commit 8377a79129
4 changed files with 219 additions and 79 deletions

File diff suppressed because one or more lines are too long

View file

@ -3422,40 +3422,57 @@ attempted.
true
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.enableMouse"></a><a class="term" href="options.html#opt-programs.htop.enableMouse"><code class="option">programs.htop.enableMouse</code></a></span></dt><dd><p>Enable mouse support.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
true
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.enableMouse"></a><a class="term" href="options.html#opt-programs.htop.enableMouse"><code class="option">programs.htop.enableMouse</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.enable_mouse instead.
Enable mouse support.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.accountGuestInCpuMeter"></a><a class="term" href="options.html#opt-programs.htop.accountGuestInCpuMeter"><code class="option">programs.htop.accountGuestInCpuMeter</code></a></span></dt><dd><p>Add guest time in CPU meter percentage.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.accountGuestInCpuMeter"></a><a class="term" href="options.html#opt-programs.htop.accountGuestInCpuMeter"><code class="option">programs.htop.accountGuestInCpuMeter</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.account_guest_in_cpu_meter instead.
Add guest time in CPU meter percentage.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.colorScheme"></a><a class="term" href="options.html#opt-programs.htop.colorScheme"><code class="option">programs.htop.colorScheme</code></a></span></dt><dd><p>Which color scheme to use.</p><p><span class="emphasis"><em>Type:</em></span> one of 0, 1, 2, 3, 4, 5, 6</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
0
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.colorScheme"></a><a class="term" href="options.html#opt-programs.htop.colorScheme"><code class="option">programs.htop.colorScheme</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.color_scheme instead.
Which color scheme to use.
</p><p><span class="emphasis"><em>Type:</em></span> null or one of 0, 1, 2, 3, 4, 5, 6</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
6
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.cpuCountFromZero"></a><a class="term" href="options.html#opt-programs.htop.cpuCountFromZero"><code class="option">programs.htop.cpuCountFromZero</code></a></span></dt><dd><p>Count CPUs from 0 instead of 1.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.cpuCountFromZero"></a><a class="term" href="options.html#opt-programs.htop.cpuCountFromZero"><code class="option">programs.htop.cpuCountFromZero</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.cpu_count_from_zero instead.
Count CPUs from 0 instead of 1.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.delay"></a><a class="term" href="options.html#opt-programs.htop.delay"><code class="option">programs.htop.delay</code></a></span></dt><dd><p>Set the delay between updates, in tenths of seconds.</p><p><span class="emphasis"><em>Type:</em></span> signed integer</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
15
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.delay"></a><a class="term" href="options.html#opt-programs.htop.delay"><code class="option">programs.htop.delay</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.delay instead.
Set the delay between updates, in tenths of seconds.
</p><p><span class="emphasis"><em>Type:</em></span> null or signed integer</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
2
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.detailedCpuTime"></a><a class="term" href="options.html#opt-programs.htop.detailedCpuTime"><code class="option">programs.htop.detailedCpuTime</code></a></span></dt><dd><p>Detailed CPU time (System/IO-Wait/Hard-IRQ/Soft-IRQ/Steal/Guest).</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.detailedCpuTime"></a><a class="term" href="options.html#opt-programs.htop.detailedCpuTime"><code class="option">programs.htop.detailedCpuTime</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.detailed_cpu_time instead.
Detailed CPU time (System/IO-Wait/Hard-IRQ/Soft-IRQ/Steal/Guest).
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.fields"></a><a class="term" href="options.html#opt-programs.htop.fields"><code class="option">programs.htop.fields</code></a></span></dt><dd><p>Active fields shown in the table.</p><p><span class="emphasis"><em>Type:</em></span> list of one of "CGROUP", "CMAJFLT", "CMINFLT", "CNCLWB", "COMM", "CSTIME", "CTID", "CUTIME", "IO_PRIORITY", "IO_RATE", "IO_READ_RATE", "IO_WRITE_RATE", "MAJFLT", "MINFLT", "M_DRS", "M_DT", "M_LRS", "M_PSS", "M_PSSWP", "M_RESIDENT", "M_SHARE", "M_SIZE", "M_SWAP", "M_TRS", "NICE", "NLWP", "OOM", "PERCENT_CPU", "PERCENT_MEM", "PGRP", "PID", "PPID", "PRIORITY", "PROCESSOR", "RBYTES", "RCHAR", "SESSION", "STARTTIME", "STATE", "STIME", "ST_UID", "SYSCR", "SYSCW", "TGID", "TIME", "TPGID", "TTY_NR", "USER", "UTIME", "VPID", "VXID", "WBYTES", "WCHAR"s</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
[
"PID" "USER" "PRIORITY" "NICE" "M_SIZE" "M_RESIDENT" "M_SHARE" "STATE" "PERCENT_CPU" "PERCENT_MEM" "TIME" "COMM"
]
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.fields"></a><a class="term" href="options.html#opt-programs.htop.fields"><code class="option">programs.htop.fields</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.fields instead.
Active fields shown in the table.
</p><p><span class="emphasis"><em>Type:</em></span> null or list of one of "CGROUP", "CMAJFLT", "CMINFLT", "CNCLWB", "COMM", "CSTIME", "CTID", "CUTIME", "IO_PRIORITY", "IO_RATE", "IO_READ_RATE", "IO_WRITE_RATE", "MAJFLT", "MINFLT", "M_DRS", "M_DT", "M_LRS", "M_PSS", "M_PSSWP", "M_RESIDENT", "M_SHARE", "M_SIZE", "M_SWAP", "M_TRS", "NICE", "NLWP", "OOM", "PERCENT_CPU", "PERCENT_MEM", "PGRP", "PID", "PPID", "PRIORITY", "PROCESSOR", "RBYTES", "RCHAR", "SESSION", "STARTTIME", "STATE", "STIME", "ST_UID", "SYSCR", "SYSCW", "TGID", "TIME", "TPGID", "TTY_NR", "USER", "UTIME", "VPID", "VXID", "WBYTES", "WCHAR"s</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
[
@ -3464,48 +3481,64 @@ attempted.
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.headerMargin"></a><a class="term" href="options.html#opt-programs.htop.headerMargin"><code class="option">programs.htop.headerMargin</code></a></span></dt><dd><p>Leave a margin around header.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
true
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.headerMargin"></a><a class="term" href="options.html#opt-programs.htop.headerMargin"><code class="option">programs.htop.headerMargin</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.header_margin instead.
Leave a margin around header.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.hideKernelThreads"></a><a class="term" href="options.html#opt-programs.htop.hideKernelThreads"><code class="option">programs.htop.hideKernelThreads</code></a></span></dt><dd><p>Hide kernel threads.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
true
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.hideKernelThreads"></a><a class="term" href="options.html#opt-programs.htop.hideKernelThreads"><code class="option">programs.htop.hideKernelThreads</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.hide_kernel_threads instead.
Hide kernel threads.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.hideThreads"></a><a class="term" href="options.html#opt-programs.htop.hideThreads"><code class="option">programs.htop.hideThreads</code></a></span></dt><dd><p>Hide threads.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.hideThreads"></a><a class="term" href="options.html#opt-programs.htop.hideThreads"><code class="option">programs.htop.hideThreads</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.hide_threads instead.
Hide threads.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.hideUserlandThreads"></a><a class="term" href="options.html#opt-programs.htop.hideUserlandThreads"><code class="option">programs.htop.hideUserlandThreads</code></a></span></dt><dd><p>Hide userland process threads.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.hideUserlandThreads"></a><a class="term" href="options.html#opt-programs.htop.hideUserlandThreads"><code class="option">programs.htop.hideUserlandThreads</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.hide_userland_threads instead.
Hide userland process threads.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.highlightBaseName"></a><a class="term" href="options.html#opt-programs.htop.highlightBaseName"><code class="option">programs.htop.highlightBaseName</code></a></span></dt><dd><p>Highlight program <span class="quote"><span class="quote">basename</span></span>.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.highlightBaseName"></a><a class="term" href="options.html#opt-programs.htop.highlightBaseName"><code class="option">programs.htop.highlightBaseName</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.highlight_base_name instead.
Highlight program <span class="quote"><span class="quote">basename</span></span>.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.highlightMegabytes"></a><a class="term" href="options.html#opt-programs.htop.highlightMegabytes"><code class="option">programs.htop.highlightMegabytes</code></a></span></dt><dd><p>Highlight large numbers in memory counters.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
true
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.highlightMegabytes"></a><a class="term" href="options.html#opt-programs.htop.highlightMegabytes"><code class="option">programs.htop.highlightMegabytes</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.highlight_megabytes instead.
Highlight large numbers in memory counters.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.highlightThreads"></a><a class="term" href="options.html#opt-programs.htop.highlightThreads"><code class="option">programs.htop.highlightThreads</code></a></span></dt><dd><p>Display threads in a different color.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
true
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.highlightThreads"></a><a class="term" href="options.html#opt-programs.htop.highlightThreads"><code class="option">programs.htop.highlightThreads</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.highlight_threads instead.
Display threads in a different color.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters"></a><a class="term" href="options.html#opt-programs.htop.meters"><code class="option">programs.htop.meters</code></a></span></dt><dd><p>Meters shown in the header.</p><p><span class="emphasis"><em>Type:</em></span> submodule</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
{
left =
[
"AllCPUs" "Memory" "Swap"
]
; right =
[
"Tasks" "LoadAverage" "Uptime"
]
;
}
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters"></a><a class="term" href="options.html#opt-programs.htop.meters"><code class="option">programs.htop.meters</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.left_meters,
programs.htop.settings.left_meter_modes,
programs.htop.settings.right_meters and
programs.htop.settings.right_meter_modes instead. Or consider using
lib.htop.leftMeters and lib.htop.rightMeters.
Meters shown in the header.
</p><p><span class="emphasis"><em>Type:</em></span> null or submodule</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
{
@ -3534,7 +3567,7 @@ attempted.
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters.left"></a><a class="term" href="options.html#opt-programs.htop.meters.left"><code class="option">programs.htop.meters.left</code></a></span></dt><dd><p>Meters shown in the left header.</p><p><span class="emphasis"><em>Type:</em></span> list of submodule or one of "AllCPUs", "AllCPUs2", "AllCPUs4", "Battery", "Blank", "CPU", "CPU(1)", "CPU(2)", "CPU(3)", "CPU(4)", "CPU(5)", "CPU(6)", "CPU(7)", "CPU(8)", "CPUs", "Clock", "Hostname", "LeftCPUs", "LeftCPUs2", "LeftCPUs4", "Load", "LoadAverage", "Memory", "PressureStallCPUSome", "PressureStallIOFull", "PressureStallIOSome", "PressureStallMemoryFull", "PressureStallMemorySome", "Right", "RightCPUs", "RightCPUs2", "RightCPUs4", "Swap", "Tasks", "Uptime", "ZFSARC", "ZFSCARC" convertible to its</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters.left"></a><a class="term" href="options.html#opt-programs.htop.meters.left"><code class="option">programs.htop.meters.left</code></a></span></dt><dd><p>Meters shown in the left header.</p><p><span class="emphasis"><em>Type:</em></span> list of submodule or one of "AllCPUs", "AllCPUs2", "AllCPUs4", "AllCPUs8", "Battery", "Blank", "CPU", "CPU(1)", "CPU(2)", "CPU(3)", "CPU(4)", "CPU(5)", "CPU(6)", "CPU(7)", "CPU(8)", "CPUs", "Clock", "Date", "DateTime", "DiskIO", "Hostname", "HugePages", "LeftCPUs", "LeftCPUs2", "LeftCPUs4", "LeftCPUs8", "Load", "LoadAverage", "Memory", "NetworkIO", "PressureStallCPUSome", "PressureStallIOFull", "PressureStallIOSome", "PressureStallMemoryFull", "PressureStallMemorySome", "Right", "RightCPUs", "RightCPUs2", "RightCPUs4", "RightCPUs8", "SELinux", "Swap", "Systemd", "Tasks", "Uptime", "ZFSARC", "ZFSCARC", "Zram" convertible to its</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
[
"AllCPUs" "Memory" "Swap"
@ -3552,7 +3585,7 @@ attempted.
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters.left._.kind"></a><a class="term" href="options.html#opt-programs.htop.meters.left._.kind"><code class="option">programs.htop.meters.left.*.kind</code></a></span></dt><dd><p>What kind of meter.</p><p><span class="emphasis"><em>Type:</em></span> one of "AllCPUs", "AllCPUs2", "AllCPUs4", "Battery", "Blank", "CPU", "CPU(1)", "CPU(2)", "CPU(3)", "CPU(4)", "CPU(5)", "CPU(6)", "CPU(7)", "CPU(8)", "CPUs", "Clock", "Hostname", "LeftCPUs", "LeftCPUs2", "LeftCPUs4", "Load", "LoadAverage", "Memory", "PressureStallCPUSome", "PressureStallIOFull", "PressureStallIOSome", "PressureStallMemoryFull", "PressureStallMemorySome", "Right", "RightCPUs", "RightCPUs2", "RightCPUs4", "Swap", "Tasks", "Uptime", "ZFSARC", "ZFSCARC"</p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters.left._.kind"></a><a class="term" href="options.html#opt-programs.htop.meters.left._.kind"><code class="option">programs.htop.meters.left.*.kind</code></a></span></dt><dd><p>What kind of meter.</p><p><span class="emphasis"><em>Type:</em></span> one of "AllCPUs", "AllCPUs2", "AllCPUs4", "AllCPUs8", "Battery", "Blank", "CPU", "CPU(1)", "CPU(2)", "CPU(3)", "CPU(4)", "CPU(5)", "CPU(6)", "CPU(7)", "CPU(8)", "CPUs", "Clock", "Date", "DateTime", "DiskIO", "Hostname", "HugePages", "LeftCPUs", "LeftCPUs2", "LeftCPUs4", "LeftCPUs8", "Load", "LoadAverage", "Memory", "NetworkIO", "PressureStallCPUSome", "PressureStallIOFull", "PressureStallIOSome", "PressureStallMemoryFull", "PressureStallMemorySome", "Right", "RightCPUs", "RightCPUs2", "RightCPUs4", "RightCPUs8", "SELinux", "Swap", "Systemd", "Tasks", "Uptime", "ZFSARC", "ZFSCARC", "Zram"</p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
"AllCPUs"
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
@ -3560,7 +3593,7 @@ attempted.
2
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters.right"></a><a class="term" href="options.html#opt-programs.htop.meters.right"><code class="option">programs.htop.meters.right</code></a></span></dt><dd><p>Meters shown in the right header.</p><p><span class="emphasis"><em>Type:</em></span> list of submodule or one of "AllCPUs", "AllCPUs2", "AllCPUs4", "Battery", "Blank", "CPU", "CPU(1)", "CPU(2)", "CPU(3)", "CPU(4)", "CPU(5)", "CPU(6)", "CPU(7)", "CPU(8)", "CPUs", "Clock", "Hostname", "LeftCPUs", "LeftCPUs2", "LeftCPUs4", "Load", "LoadAverage", "Memory", "PressureStallCPUSome", "PressureStallIOFull", "PressureStallIOSome", "PressureStallMemoryFull", "PressureStallMemorySome", "Right", "RightCPUs", "RightCPUs2", "RightCPUs4", "Swap", "Tasks", "Uptime", "ZFSARC", "ZFSCARC" convertible to its</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters.right"></a><a class="term" href="options.html#opt-programs.htop.meters.right"><code class="option">programs.htop.meters.right</code></a></span></dt><dd><p>Meters shown in the right header.</p><p><span class="emphasis"><em>Type:</em></span> list of submodule or one of "AllCPUs", "AllCPUs2", "AllCPUs4", "AllCPUs8", "Battery", "Blank", "CPU", "CPU(1)", "CPU(2)", "CPU(3)", "CPU(4)", "CPU(5)", "CPU(6)", "CPU(7)", "CPU(8)", "CPUs", "Clock", "Date", "DateTime", "DiskIO", "Hostname", "HugePages", "LeftCPUs", "LeftCPUs2", "LeftCPUs4", "LeftCPUs8", "Load", "LoadAverage", "Memory", "NetworkIO", "PressureStallCPUSome", "PressureStallIOFull", "PressureStallIOSome", "PressureStallMemoryFull", "PressureStallMemorySome", "Right", "RightCPUs", "RightCPUs2", "RightCPUs4", "RightCPUs8", "SELinux", "Swap", "Systemd", "Tasks", "Uptime", "ZFSARC", "ZFSCARC", "Zram" convertible to its</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
[
"Tasks" "LoadAverage" "Uptime"
@ -3578,7 +3611,7 @@ attempted.
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters.right._.kind"></a><a class="term" href="options.html#opt-programs.htop.meters.right._.kind"><code class="option">programs.htop.meters.right.*.kind</code></a></span></dt><dd><p>What kind of meter.</p><p><span class="emphasis"><em>Type:</em></span> one of "AllCPUs", "AllCPUs2", "AllCPUs4", "Battery", "Blank", "CPU", "CPU(1)", "CPU(2)", "CPU(3)", "CPU(4)", "CPU(5)", "CPU(6)", "CPU(7)", "CPU(8)", "CPUs", "Clock", "Hostname", "LeftCPUs", "LeftCPUs2", "LeftCPUs4", "Load", "LoadAverage", "Memory", "PressureStallCPUSome", "PressureStallIOFull", "PressureStallIOSome", "PressureStallMemoryFull", "PressureStallMemorySome", "Right", "RightCPUs", "RightCPUs2", "RightCPUs4", "Swap", "Tasks", "Uptime", "ZFSARC", "ZFSCARC"</p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.meters.right._.kind"></a><a class="term" href="options.html#opt-programs.htop.meters.right._.kind"><code class="option">programs.htop.meters.right.*.kind</code></a></span></dt><dd><p>What kind of meter.</p><p><span class="emphasis"><em>Type:</em></span> one of "AllCPUs", "AllCPUs2", "AllCPUs4", "AllCPUs8", "Battery", "Blank", "CPU", "CPU(1)", "CPU(2)", "CPU(3)", "CPU(4)", "CPU(5)", "CPU(6)", "CPU(7)", "CPU(8)", "CPUs", "Clock", "Date", "DateTime", "DiskIO", "Hostname", "HugePages", "LeftCPUs", "LeftCPUs2", "LeftCPUs4", "LeftCPUs8", "Load", "LoadAverage", "Memory", "NetworkIO", "PressureStallCPUSome", "PressureStallIOFull", "PressureStallIOSome", "PressureStallMemoryFull", "PressureStallMemorySome", "Right", "RightCPUs", "RightCPUs2", "RightCPUs4", "RightCPUs8", "SELinux", "Swap", "Systemd", "Tasks", "Uptime", "ZFSARC", "ZFSCARC", "Zram"</p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
"AllCPUs"
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
@ -3586,46 +3619,140 @@ attempted.
2
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.shadowOtherUsers"></a><a class="term" href="options.html#opt-programs.htop.shadowOtherUsers"><code class="option">programs.htop.shadowOtherUsers</code></a></span></dt><dd><p>Shadow other users' processes.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.settings"></a><a class="term" href="options.html#opt-programs.htop.settings"><code class="option">programs.htop.settings</code></a></span></dt><dd><p>Configuration options to add to
<code class="filename">~/.config/htop/htoprc</code>.
This superseedes any other (deprecated) settings in this module.
</p><p><span class="emphasis"><em>Type:</em></span> attribute set</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
{
account_guest_in_cpu_meter = false; color_scheme = 0; cpu_count_from_zero = false; delay = 15; detailed_cpu_time = false; enable_mouse = true; fields =
[
0 48 17 18 38 39 40 2 46 47 49 1
]
; header_margin = true; hide_kernel_threads = true; hide_threads = false; hide_userland_threads = false; highlight_base_name = false; highlight_megabytes = true; highlight_threads = true; left_meter_modes =
[
1 1 1
]
; left_meters =
[
"AllCPUs" "Memory" "Swap"
]
; right_meter_modes =
[
2 2 2
]
; right_meters =
[
"LoadAverage" "Tasks" "Uptime"
]
; shadow_other_users = false; show_cpu_frequency = false; show_cpu_usage = false; show_program_path = true; show_thread_names = false; sort_direction = 1; sort_key = 46; tree_view = false; update_process_names = false; vim_mode = false;
}
</code></p><p><span class="emphasis"><em>Example:</em></span> </p><pre class="programlisting">{
color_scheme = 6;
cpu_count_from_one = 0;
delay = 15;
fields = with config.lib.htop.fields; [
PID
USER
PRIORITY
NICE
M_SIZE
M_RESIDENT
M_SHARE
STATE
PERCENT_CPU
PERCENT_MEM
TIME
COMM
];
highlight_base_name = 1;
highlight_megabytes = 1;
highlight_threads = 1;
} // (with config.lib.htop; leftMeters {
AllCPUs2 = modes.Bar;
Memory = modes.Bar;
Swap = modes.Bar;
Zram = modes.Text;
}) // (with config.lib.htop; rightMeters {
Tasks = modes.Text;
LoadAverage = modes.Text;
Uptime = modes.Text;
Systemd = modes.Text;
})
</pre><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.shadowOtherUsers"></a><a class="term" href="options.html#opt-programs.htop.shadowOtherUsers"><code class="option">programs.htop.shadowOtherUsers</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.shadow_other_users instead.
Shadow other users' processes.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.showCpuFrequency"></a><a class="term" href="options.html#opt-programs.htop.showCpuFrequency"><code class="option">programs.htop.showCpuFrequency</code></a></span></dt><dd><p>Show CPU frequency.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.showCpuFrequency"></a><a class="term" href="options.html#opt-programs.htop.showCpuFrequency"><code class="option">programs.htop.showCpuFrequency</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.show_cpu_frequency instead.
Show CPU frequency.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.showCpuUsage"></a><a class="term" href="options.html#opt-programs.htop.showCpuUsage"><code class="option">programs.htop.showCpuUsage</code></a></span></dt><dd><p>Show CPU usage frequency.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.showCpuUsage"></a><a class="term" href="options.html#opt-programs.htop.showCpuUsage"><code class="option">programs.htop.showCpuUsage</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.show_cpu_usage instead.
Show CPU usage frequency.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.showProgramPath"></a><a class="term" href="options.html#opt-programs.htop.showProgramPath"><code class="option">programs.htop.showProgramPath</code></a></span></dt><dd><p>Show program path.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
true
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.showProgramPath"></a><a class="term" href="options.html#opt-programs.htop.showProgramPath"><code class="option">programs.htop.showProgramPath</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.show_program_path instead.
Show program path.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.showThreadNames"></a><a class="term" href="options.html#opt-programs.htop.showThreadNames"><code class="option">programs.htop.showThreadNames</code></a></span></dt><dd><p>Show custom thread names.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.showThreadNames"></a><a class="term" href="options.html#opt-programs.htop.showThreadNames"><code class="option">programs.htop.showThreadNames</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.show_thread_names instead.
Show custom thread names.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.sortDescending"></a><a class="term" href="options.html#opt-programs.htop.sortDescending"><code class="option">programs.htop.sortDescending</code></a></span></dt><dd><p>Whether to sort descending or not.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
true
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.sortDescending"></a><a class="term" href="options.html#opt-programs.htop.sortDescending"><code class="option">programs.htop.sortDescending</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.sort_direction instead.
Whether to sort descending or not.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.sortKey"></a><a class="term" href="options.html#opt-programs.htop.sortKey"><code class="option">programs.htop.sortKey</code></a></span></dt><dd><p>Which field to use for sorting.</p><p><span class="emphasis"><em>Type:</em></span> one of "CGROUP", "CMAJFLT", "CMINFLT", "CNCLWB", "COMM", "CSTIME", "CTID", "CUTIME", "IO_PRIORITY", "IO_RATE", "IO_READ_RATE", "IO_WRITE_RATE", "MAJFLT", "MINFLT", "M_DRS", "M_DT", "M_LRS", "M_PSS", "M_PSSWP", "M_RESIDENT", "M_SHARE", "M_SIZE", "M_SWAP", "M_TRS", "NICE", "NLWP", "OOM", "PERCENT_CPU", "PERCENT_MEM", "PGRP", "PID", "PPID", "PRIORITY", "PROCESSOR", "RBYTES", "RCHAR", "SESSION", "STARTTIME", "STATE", "STIME", "ST_UID", "SYSCR", "SYSCW", "TGID", "TIME", "TPGID", "TTY_NR", "USER", "UTIME", "VPID", "VXID", "WBYTES", "WCHAR"</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
"PERCENT_CPU"
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.sortKey"></a><a class="term" href="options.html#opt-programs.htop.sortKey"><code class="option">programs.htop.sortKey</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.sort_key instead.
Which field to use for sorting.
</p><p><span class="emphasis"><em>Type:</em></span> null or one of "CGROUP", "CMAJFLT", "CMINFLT", "CNCLWB", "COMM", "CSTIME", "CTID", "CUTIME", "IO_PRIORITY", "IO_RATE", "IO_READ_RATE", "IO_WRITE_RATE", "MAJFLT", "MINFLT", "M_DRS", "M_DT", "M_LRS", "M_PSS", "M_PSSWP", "M_RESIDENT", "M_SHARE", "M_SIZE", "M_SWAP", "M_TRS", "NICE", "NLWP", "OOM", "PERCENT_CPU", "PERCENT_MEM", "PGRP", "PID", "PPID", "PRIORITY", "PROCESSOR", "RBYTES", "RCHAR", "SESSION", "STARTTIME", "STATE", "STIME", "ST_UID", "SYSCR", "SYSCW", "TGID", "TIME", "TPGID", "TTY_NR", "USER", "UTIME", "VPID", "VXID", "WBYTES", "WCHAR"</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Example:</em></span> <code class="literal">
"TIME"
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.treeView"></a><a class="term" href="options.html#opt-programs.htop.treeView"><code class="option">programs.htop.treeView</code></a></span></dt><dd><p>Tree view.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.treeView"></a><a class="term" href="options.html#opt-programs.htop.treeView"><code class="option">programs.htop.treeView</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.tree_view instead.
Tree view.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.updateProcessNames"></a><a class="term" href="options.html#opt-programs.htop.updateProcessNames"><code class="option">programs.htop.updateProcessNames</code></a></span></dt><dd><p>Update process names on every refresh.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.updateProcessNames"></a><a class="term" href="options.html#opt-programs.htop.updateProcessNames"><code class="option">programs.htop.updateProcessNames</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.update_process_names instead.
Update process names on every refresh.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.vimMode"></a><a class="term" href="options.html#opt-programs.htop.vimMode"><code class="option">programs.htop.vimMode</code></a></span></dt><dd><p>Vim key bindings.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
false
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.htop.vimMode"></a><a class="term" href="options.html#opt-programs.htop.vimMode"><code class="option">programs.htop.vimMode</code></a></span></dt><dd><p>Deprecated. Please use programs.htop.settings.vim_mode instead.
Vim key bindings.
</p><p><span class="emphasis"><em>Type:</em></span> null or boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">
null
</code></p><p><span class="emphasis"><em>Declared by:</em></span></p><table border="0" summary="Simple list" class="simplelist"><tr><td><code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/htop.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/htop.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.i3status.enable"></a><a class="term" href="options.html#opt-programs.i3status.enable"><code class="option">programs.i3status.enable</code></a></span></dt><dd><p>Whether to enable i3status.</p><p><span class="emphasis"><em>Type:</em></span> boolean</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">

View file

@ -104,6 +104,19 @@ The library type <code class="literal">fontType</code> now has a <code class="li
</p><pre class="programlisting nix">font = {
name = "DejaVu Sans";
size = 8;
};</pre></li><li class="listitem"><p class="simpara">
The <a class="xref" href="options.html#opt-programs.htop.settings"><code class="option">programs.htop.settings</code></a> option is introduced to replace individual
options in <code class="literal">programs.htop</code>. To migrate, set the htop options directly in
<a class="xref" href="options.html#opt-programs.htop.settings"><code class="option">programs.htop.settings</code></a>. For example:
</p><pre class="programlisting nix">programs.htop = {
enabled = true;
settings = {
color_scheme = 5;
delay = 15;
highlight_base_name = 1;
highlight_megabytes = 1;
highlight_threads = 1;
};
};</pre></li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="sec-release-21.05-state-version-changes"></a>E.1.2. State Version Changes</h3></div></div></div><p>The state version in this release includes the changes below. These
changes are only active if the <code class="literal">home.stateVersion</code> option is set to
"21.05" or later.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Appendix D. Tools</title><link rel="stylesheet" type="text/css" href="style.css" /><link rel="stylesheet" type="text/css" href="overrides.css" /><link rel="stylesheet" type="text/css" href="mono-blue.css" /><script src="highlight.pack.js" type="text/javascript"></script><script src="highlight.load.js" type="text/javascript"></script><meta name="generator" content="DocBook XSL Stylesheets V1.79.2" /><link rel="home" href="index.html" title="Home Manager Manual" /><link rel="up" href="index.html" title="Home Manager Manual" /><link rel="prev" href="nix-darwin-options.html" title="Appendix C. nix-darwin Module Options" /><link rel="next" href="release-notes.html" title="Appendix E. Release Notes" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Appendix D. Tools</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="nix-darwin-options.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="release-notes.html">Next</a></td></tr></table><hr /></div><div class="appendix"><div class="titlepage"><div><div><h1 class="title"><a id="ch-tools"></a>Appendix D. Tools</h1></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="tools.html#idm140737311428944"><span class="command"><strong>home-manager</strong></span>
</a></span><span class="refpurpose"> — reconfigure a user environment</span></dt></dl></div><div class="refentry"><a id="idm140737311428944"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p><span class="command"><strong>home-manager</strong></span>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Appendix D. Tools</title><link rel="stylesheet" type="text/css" href="style.css" /><link rel="stylesheet" type="text/css" href="overrides.css" /><link rel="stylesheet" type="text/css" href="mono-blue.css" /><script src="highlight.pack.js" type="text/javascript"></script><script src="highlight.load.js" type="text/javascript"></script><meta name="generator" content="DocBook XSL Stylesheets V1.79.2" /><link rel="home" href="index.html" title="Home Manager Manual" /><link rel="up" href="index.html" title="Home Manager Manual" /><link rel="prev" href="nix-darwin-options.html" title="Appendix C. nix-darwin Module Options" /><link rel="next" href="release-notes.html" title="Appendix E. Release Notes" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Appendix D. Tools</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="nix-darwin-options.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="release-notes.html">Next</a></td></tr></table><hr /></div><div class="appendix"><div class="titlepage"><div><div><h1 class="title"><a id="ch-tools"></a>Appendix D. Tools</h1></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="tools.html#idm140737311432208"><span class="command"><strong>home-manager</strong></span>
</a></span><span class="refpurpose"> — reconfigure a user environment</span></dt></dl></div><div class="refentry"><a id="idm140737311432208"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p><span class="command"><strong>home-manager</strong></span>
— reconfigure a user environment</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">home-manager</code> {
build
|
@ -74,7 +74,7 @@
|
--verbose
}
]</p></div></div><div class="refsection"><a id="idm140737311394272"></a><h2>Description</h2><p>
]</p></div></div><div class="refsection"><a id="idm140737311397632"></a><h2>Description</h2><p>
This command updates the user environment so that it corresponds to the
configuration specified in <code class="filename">~/.config/nixpkgs/home.nix</code> or <code class="filename">~/.config/nixpkgs/flake.nix</code>.
</p><p>
@ -139,7 +139,7 @@
available for immediate garbage collection.
</p></li></ul></div><p>
</p></dd></dl></div><p>
</p></div><div class="refsection"><a id="idm140737311360208"></a><h2>Options</h2><p>
</p></div><div class="refsection"><a id="idm140737311363568"></a><h2>Options</h2><p>
The tool accepts the options
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">
<code class="option">-A <em class="replaceable"><code>attrPath</code></em></code>
@ -234,15 +234,15 @@
<code class="option">--verbose</code>
</span></dt><dd><p>
Activates verbose output.
</p></dd></dl></div></div><div class="refsection"><a id="idm140737311306544"></a><h2>Files</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">
</p></dd></dl></div></div><div class="refsection"><a id="idm140737311310048"></a><h2>Files</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">
<code class="filename">~/.local/share/home-manager/news-read-ids</code>
</span></dt><dd><p>
Identifiers of news items that have been shown. Can be deleted to reset
the read news indicator.
</p></dd></dl></div></div><div class="refsection"><a id="idm140737311303248"></a><h2>Bugs</h2><p>
</p></dd></dl></div></div><div class="refsection"><a id="idm140737311306752"></a><h2>Bugs</h2><p>
Please report any bugs on the
<a class="link" href="https://github.com/nix-community/home-manager/issues" target="_top">project
issue tracker</a>.
</p></div><div class="refsection"><a id="idm140737311301248"></a><h2>See also</h2><p>
</p></div><div class="refsection"><a id="idm140737311304752"></a><h2>See also</h2><p>
<span class="citerefentry"><span class="refentrytitle">home-configuration.nix</span>(5)</span>
</p></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="nix-darwin-options.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="release-notes.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Appendix C. nix-darwin Module Options </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Appendix E. Release Notes</td></tr></table></div></body></html>