mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 09:29:41 +08:00
Compare commits
2 Commits
a9767188dc
...
446998414e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
446998414e | ||
|
|
3259edaa22 |
@@ -1282,7 +1282,10 @@ way. In Bash and Z shell this can be done by adding</p><pre><code class="program
|
|||||||
</code></pre><p>to your <code class="literal">.profile</code> and <code class="literal">.zshrc</code> files, respectively. The
|
</code></pre><p>to your <code class="literal">.profile</code> and <code class="literal">.zshrc</code> files, respectively. The
|
||||||
<code class="literal">hm-session-vars.sh</code> file should work in most Bourne-like shells. For
|
<code class="literal">hm-session-vars.sh</code> file should work in most Bourne-like shells. For
|
||||||
fish shell, it is possible to source it using <a class="link" href="https://github.com/oh-my-fish/plugin-foreign-env" target="_top">the foreign-env
|
fish shell, it is possible to source it using <a class="link" href="https://github.com/oh-my-fish/plugin-foreign-env" target="_top">the foreign-env
|
||||||
plugin</a></p><pre><code class="programlisting bash">fenv source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" > /dev/null
|
plugin</a> or using the builtin
|
||||||
|
<a class="link" href="https://github.com/bouk/babelfish" target="_top">babelfish</a>-translated variables:</p><pre><code class="programlisting bash">fenv source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" > /dev/null
|
||||||
|
# or
|
||||||
|
source "$HOME/.nix-profile/etc/profile.d/hm-session-vars.fish"
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</div><div class="section"> <div class="titlepage"> <div> <div> <h2 id="_how_to_set_up_a_configuration_for_multiple_users_machines" class="title" style="clear: both">How to set up a configuration for multiple users/machines? </h2> </div> </div></div><p>A typical way to prepare a repository of configurations for multiple
|
</div><div class="section"> <div class="titlepage"> <div> <div> <h2 id="_how_to_set_up_a_configuration_for_multiple_users_machines" class="title" style="clear: both">How to set up a configuration for multiple users/machines? </h2> </div> </div></div><p>A typical way to prepare a repository of configurations for multiple
|
||||||
logins and machines is to prepare one "top-level" file for each unique
|
logins and machines is to prepare one "top-level" file for each unique
|
||||||
|
|||||||
@@ -15011,7 +15011,7 @@ boolean</p>
|
|||||||
</span>
|
</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p>When to run the Nix garbage collector.</p><p>On Linux this is a string as defined by <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p><p>On Darwin it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p>
|
<p>When to run the Nix garbage collector.</p><p>On Linux this is a string as defined by <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p><p>On Darwin, it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Type:</em></span>
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
(optionally newline-terminated) single-line string or list of string</p>
|
(optionally newline-terminated) single-line string or list of string</p>
|
||||||
@@ -57940,7 +57940,7 @@ boolean</p>
|
|||||||
</span>
|
</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p>How often cleanup is performed.</p><p>On linux the format is described in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p><p>On Darwin it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p>
|
<p>How often cleanup is performed.</p><p>On linux the format is described in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p><p>On Darwin, it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Type:</em></span>
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
(optionally newline-terminated) single-line string</p>
|
(optionally newline-terminated) single-line string</p>
|
||||||
@@ -92739,7 +92739,7 @@ boolean</p>
|
|||||||
This value is passed to the systemd timer configuration as
|
This value is passed to the systemd timer configuration as
|
||||||
the onCalendar option. See
|
the onCalendar option. See
|
||||||
<a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>
|
<a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>
|
||||||
for more information about the format.</p><p>On Darwin it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p>
|
for more information about the format.</p><p>On Darwin, it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Type:</em></span>
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
string</p>
|
string</p>
|
||||||
@@ -98663,7 +98663,7 @@ boolean</p>
|
|||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p>The interval at which the Home Manager auto expire is run.</p><p>This value is passed to the systemd timer configuration
|
<p>The interval at which the Home Manager auto expire is run.</p><p>This value is passed to the systemd timer configuration
|
||||||
as the <code class="literal">OnCalendar</code> option.</p><p>The format is described in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p><p>On Darwin it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p>
|
as the <code class="literal">OnCalendar</code> option.</p><p>The format is described in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p><p>On Darwin, it must be one of: hourly, daily, weekly, monthly, semiannually, annually, which are implemented as defined in <a class="link" href="https://www.freedesktop.org/software/systemd/man/systemd.time.html" target="_top"><span class="citerefentry"><span class="refentrytitle">systemd.time</span>(7)</span></a>.</p>
|
||||||
|
|
||||||
<p><span class="emphasis"><em>Type:</em></span>
|
<p><span class="emphasis"><em>Type:</em></span>
|
||||||
string</p>
|
string</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user