1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-11 05:39:44 +01:00
This commit is contained in:
rycee 2023-02-06 07:09:34 +00:00
parent 8492678a37
commit a7a39e2ac0
2 changed files with 23 additions and 30 deletions

View file

@ -2253,33 +2253,6 @@ versions it should be an unwrapped Firefox package.</p><p><span class="emphasis"
enableTridactylNative = true; enableTridactylNative = true;
}; };
} }
</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/firefox.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/firefox.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.firefox.extensions"></a><a class="term" href="options.html#opt-programs.firefox.extensions"><code class="option">programs.firefox.extensions</code></a></span></dt><dd><p>List of Firefox add-on packages to install. Some
pre-packaged add-ons are accessible from NUR,
<a class="link" href="https://github.com/nix-community/NUR" target="_top">https://github.com/nix-community/NUR</a>.
Once you have NUR installed run
</p><pre class="screen console">
<code class="prompt">$</code> <strong class="userinput"><code>nix-env -f '&lt;nixpkgs&gt;' -qaP -A nur.repos.rycee.firefox-addons</code></strong>
</pre><p>
to list the available Firefox add-ons.
</p><p>
Note that it is necessary to manually enable these
extensions inside Firefox after the first installation.
</p><p>
Extensions listed here will only be available in Firefox
profiles managed through the
<a class="xref" href="options.html#opt-programs.firefox.profiles"><code class="option">programs.firefox.profiles</code></a>
option. This is due to recent changes in the way Firefox
handles extension side-loading.</p><p><span class="emphasis"><em>Type:</em></span> list of package</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">[ ]</code></p><p><span class="emphasis"><em>Example:</em></span> </p><pre class="programlisting">with pkgs.nur.repos.rycee.firefox-addons; [
privacy-badger
]
</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/firefox.nix#blob-path" target="_top"> </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/firefox.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/firefox.nix&gt; &lt;home-manager/modules/programs/firefox.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.firefox.profiles"></a><a class="term" href="options.html#opt-programs.firefox.profiles"><code class="option">programs.firefox.profiles</code></a></span></dt><dd><p>Attribute set of Firefox profiles.</p><p><span class="emphasis"><em>Type:</em></span> attribute set of (submodule)</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">{ }</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/firefox.nix#blob-path" target="_top"> </a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.firefox.profiles"></a><a class="term" href="options.html#opt-programs.firefox.profiles"><code class="option">programs.firefox.profiles</code></a></span></dt><dd><p>Attribute set of Firefox profiles.</p><p><span class="emphasis"><em>Type:</em></span> attribute set of (submodule)</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">{ }</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/firefox.nix#blob-path" target="_top">
@ -2309,6 +2282,25 @@ previously existing bookmarks!</p><p><span class="emphasis"><em>Type:</em></span
]; ];
} }
] ]
</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/firefox.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/firefox.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.firefox.profiles._name_.extensions"></a><a class="term" href="options.html#opt-programs.firefox.profiles._name_.extensions"><code class="option">programs.firefox.profiles.&lt;name&gt;.extensions</code></a></span></dt><dd><p>List of Firefox add-on packages to install for this profile.
Some pre-packaged add-ons are accessible from NUR,
<a class="link" href="https://github.com/nix-community/NUR" target="_top">https://github.com/nix-community/NUR</a>.
Once you have NUR installed run
</p><pre class="screen console">
<code class="prompt">$</code> <strong class="userinput"><code>nix-env -f '&lt;nixpkgs&gt;' -qaP -A nur.repos.rycee.firefox-addons</code></strong>
</pre><p>
to list the available Firefox add-ons.
</p><p>
Note that it is necessary to manually enable these extensions
inside Firefox after the first installation.</p><p><span class="emphasis"><em>Type:</em></span> list of package</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">[ ]</code></p><p><span class="emphasis"><em>Example:</em></span> </p><pre class="programlisting">with pkgs.nur.repos.rycee.firefox-addons; [
privacy-badger
]
</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/firefox.nix#blob-path" target="_top"> </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/firefox.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/firefox.nix&gt; &lt;home-manager/modules/programs/firefox.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.firefox.profiles._name_.extraConfig"></a><a class="term" href="options.html#opt-programs.firefox.profiles._name_.extraConfig"><code class="option">programs.firefox.profiles.&lt;name&gt;.extraConfig</code></a></span></dt><dd><p>Extra preferences to add to <code class="filename">user.js</code>.</p><p><span class="emphasis"><em>Type:</em></span> strings concatenated with "\n"</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">""</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/firefox.nix#blob-path" target="_top"> </a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.firefox.profiles._name_.extraConfig"></a><a class="term" href="options.html#opt-programs.firefox.profiles._name_.extraConfig"><code class="option">programs.firefox.profiles.&lt;name&gt;.extraConfig</code></a></span></dt><dd><p>Extra preferences to add to <code class="filename">user.js</code>.</p><p><span class="emphasis"><em>Type:</em></span> strings concatenated with "\n"</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">""</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/firefox.nix#blob-path" target="_top">

File diff suppressed because one or more lines are too long