mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 07:09:45 +01:00
deploy: 57a7e5e2c5
This commit is contained in:
parent
220e0f5cef
commit
eaa0cdf3be
3 changed files with 45 additions and 12 deletions
File diff suppressed because one or more lines are too long
|
@ -23,8 +23,8 @@ derivations. The following configuration is now possible:
|
||||||
});</pre><p class="simpara">As a result of this change, <a class="xref" href="options.html#opt-programs.mpv.package"><code class="option">programs.mpv.package</code></a> is no longer the
|
});</pre><p class="simpara">As a result of this change, <a class="xref" href="options.html#opt-programs.mpv.package"><code class="option">programs.mpv.package</code></a> is no longer the
|
||||||
resulting derivation. Use the newly introduced <code class="literal">programs.mpv.finalPackage</code>
|
resulting derivation. Use the newly introduced <code class="literal">programs.mpv.finalPackage</code>
|
||||||
instead.</p></li><li class="listitem"><p class="simpara">
|
instead.</p></li><li class="listitem"><p class="simpara">
|
||||||
The <a class="xref" href="options.html#opt-programs.rofi.extraConfig"><code class="option">programs.rofi.extraConfig</code></a> option is now an attrset rather
|
The <a class="xref" href="options.html#opt-programs.rofi.extraConfig"><code class="option">programs.rofi.extraConfig</code></a> option is now an attribute set rather
|
||||||
than a string. To migrate, move the each line into the attrset,
|
than a string. To migrate, move each line into the attribute set,
|
||||||
removing the <code class="literal">rofi.</code> prefix from the keys. For example,
|
removing the <code class="literal">rofi.</code> prefix from the keys. For example,
|
||||||
</p><pre class="programlisting nix">programs.rofi.extraConfig = ''
|
</p><pre class="programlisting nix">programs.rofi.extraConfig = ''
|
||||||
rofi.show-icons: true
|
rofi.show-icons: true
|
||||||
|
@ -33,6 +33,28 @@ removing the <code class="literal">rofi.</code> prefix from the keys. For exampl
|
||||||
show-icons = true;
|
show-icons = true;
|
||||||
modi = "drun,emoji,ssh";
|
modi = "drun,emoji,ssh";
|
||||||
};</pre></li><li class="listitem"><p class="simpara">
|
};</pre></li><li class="listitem"><p class="simpara">
|
||||||
|
The <a class="xref" href="options.html#opt-programs.rofi.theme"><code class="option">programs.rofi.theme</code></a> option now supports defining a theme
|
||||||
|
using an attribute set, the following configuration is now possible:
|
||||||
|
</p><pre class="programlisting nix">programs.rofi.theme = let
|
||||||
|
# Necessary to avoid quoting non-string values
|
||||||
|
inherit (config.lib.formats.rasi) mkLiteral;
|
||||||
|
in {
|
||||||
|
"@import" = "~/.config/rofi/theme.rasi";
|
||||||
|
|
||||||
|
"*" = {
|
||||||
|
background-color = mkLiteral "#000000";
|
||||||
|
foreground-color = mkLiteral "rgba ( 250, 251, 252, 100 % )";
|
||||||
|
border-color = mkLiteral "#FFFFFF";
|
||||||
|
width = 512;
|
||||||
|
};
|
||||||
|
|
||||||
|
"#textbox-prompt-colon" = {
|
||||||
|
expand = false;
|
||||||
|
str = ":";
|
||||||
|
margin = mkLiteral "0px 0.3em 0em 0em";
|
||||||
|
text-color = mkLiteral "@foreground-color";
|
||||||
|
};
|
||||||
|
};</pre></li><li class="listitem"><p class="simpara">
|
||||||
The <code class="literal">services.redshift.extraOptions</code> and <code class="literal">services.gammastep.extraOptions</code>
|
The <code class="literal">services.redshift.extraOptions</code> and <code class="literal">services.gammastep.extraOptions</code>
|
||||||
options were removed in favor of <a class="xref" href="options.html#opt-services.redshift.settings"><code class="option">services.redshift.settings</code></a> and
|
options were removed in favor of <a class="xref" href="options.html#opt-services.redshift.settings"><code class="option">services.redshift.settings</code></a> and
|
||||||
<code class="literal">services.gammastep.settings</code>, that are now an attribute set rather
|
<code class="literal">services.gammastep.settings</code>, that are now an attribute set rather
|
||||||
|
@ -62,7 +84,18 @@ configure.packages.*.start -> programs.neovim.plugins = [ { plugin = ...; }]
|
||||||
configure.customRC -> programs.neovim.extraConfig</pre></li><li class="listitem">
|
configure.customRC -> programs.neovim.extraConfig</pre></li><li class="listitem">
|
||||||
Home Manager now respects the <code class="literal">NO_COLOR</code> environment variable as per
|
Home Manager now respects the <code class="literal">NO_COLOR</code> environment variable as per
|
||||||
<a class="link" href="https://no-color.org/" target="_top">https://no-color.org/</a>.
|
<a class="link" href="https://no-color.org/" target="_top">https://no-color.org/</a>.
|
||||||
</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
|
</li><li class="listitem"><p class="simpara">
|
||||||
|
Qt module now supports <a class="xref" href="options.html#opt-qt.style.name"><code class="option">qt.style.name</code></a> to specify a theme name and
|
||||||
|
<a class="xref" href="options.html#opt-qt.style.package"><code class="option">qt.style.package</code></a> to specify a theme package. If you have set
|
||||||
|
<a class="xref" href="options.html#opt-qt.platformTheme"><code class="option">qt.platformTheme</code></a> to <code class="literal">gnome</code>, a <a class="xref" href="options.html#opt-qt.style.package"><code class="option">qt.style.package</code></a> compatible
|
||||||
|
with both Qt and Gtk is now required to be set. For instance:
|
||||||
|
</p><pre class="programlisting nix">qt = {
|
||||||
|
platformTheme = "gnome";
|
||||||
|
style = {
|
||||||
|
name = "adwaita-dark";
|
||||||
|
package = pkgs.adwaita-qt;
|
||||||
|
};
|
||||||
|
};</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
|
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">
|
"21.05" or later.</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
|
||||||
Nothing has happened.
|
Nothing has happened.
|
||||||
|
|
14
tools.html
14
tools.html
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?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#idm140737311788688"><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#idm140737311787520"><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="idm140737311788688"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p><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="idm140737311787520"></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> {
|
— reconfigure a user environment</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">home-manager</code> {
|
||||||
build
|
build
|
||||||
|
|
|
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
|
|
|
|
||||||
--verbose
|
--verbose
|
||||||
}
|
}
|
||||||
]</p></div></div><div class="refsection"><a id="idm140737311754896"></a><h2>Description</h2><p>
|
]</p></div></div><div class="refsection"><a id="idm140737311753824"></a><h2>Description</h2><p>
|
||||||
This command updates the user environment so that it corresponds to the
|
This command updates the user environment so that it corresponds to the
|
||||||
configuration specified in <code class="filename">~/.config/nixpkgs/home.nix</code>.
|
configuration specified in <code class="filename">~/.config/nixpkgs/home.nix</code>.
|
||||||
</p><p>
|
</p><p>
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
available for immediate garbage collection.
|
available for immediate garbage collection.
|
||||||
</p></li></ul></div><p>
|
</p></li></ul></div><p>
|
||||||
</p></dd></dl></div><p>
|
</p></dd></dl></div><p>
|
||||||
</p></div><div class="refsection"><a id="idm140737311721200"></a><h2>Options</h2><p>
|
</p></div><div class="refsection"><a id="idm140737311720176"></a><h2>Options</h2><p>
|
||||||
The tool accepts the options
|
The tool accepts the options
|
||||||
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">
|
</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">
|
||||||
<code class="option">-A <em class="replaceable"><code>attrPath</code></em></code>
|
<code class="option">-A <em class="replaceable"><code>attrPath</code></em></code>
|
||||||
|
@ -226,15 +226,15 @@
|
||||||
<code class="option">--verbose</code>
|
<code class="option">--verbose</code>
|
||||||
</span></dt><dd><p>
|
</span></dt><dd><p>
|
||||||
Activates verbose output.
|
Activates verbose output.
|
||||||
</p></dd></dl></div></div><div class="refsection"><a id="idm140737311670096"></a><h2>Files</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">
|
</p></dd></dl></div></div><div class="refsection"><a id="idm140737311669120"></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>
|
<code class="filename">~/.local/share/home-manager/news-read-ids</code>
|
||||||
</span></dt><dd><p>
|
</span></dt><dd><p>
|
||||||
Identifiers of news items that have been shown. Can be deleted to reset
|
Identifiers of news items that have been shown. Can be deleted to reset
|
||||||
the read news indicator.
|
the read news indicator.
|
||||||
</p></dd></dl></div></div><div class="refsection"><a id="idm140737311666800"></a><h2>Bugs</h2><p>
|
</p></dd></dl></div></div><div class="refsection"><a id="idm140737311665824"></a><h2>Bugs</h2><p>
|
||||||
Please report any bugs on the
|
Please report any bugs on the
|
||||||
<a class="link" href="https://github.com/nix-community/home-manager/issues" target="_top">project
|
<a class="link" href="https://github.com/nix-community/home-manager/issues" target="_top">project
|
||||||
issue tracker</a>.
|
issue tracker</a>.
|
||||||
</p></div><div class="refsection"><a id="idm140737311664800"></a><h2>See also</h2><p>
|
</p></div><div class="refsection"><a id="idm140737311663824"></a><h2>See also</h2><p>
|
||||||
<span class="citerefentry"><span class="refentrytitle">home-configuration.nix</span>(5)</span>
|
<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>
|
</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>
|
Loading…
Reference in a new issue