···11-<chapter xmlns="http://docbook.org/ns/docbook"
22- xmlns:xlink="http://www.w3.org/1999/xlink">
33-44-<title>Configuration in home directory</title>
55-66-77-<!--===============================================================-->
88-99-<section>
1010-<title>Compiz Fusion</title>
1111-<para>
1212- Compiz Fusion is just a set of plugins for Compiz. Your best interest is to have
1313- them found both by Compiz and by Compiz Configuration Settings (also in Compiz Fusion
1414- distribution). By default they look in Compiz installation path and in home directory.
1515- You do not need to track /nix/store manually - everything is already in
1616- /run/current-system/sw/share.
1717-1818- <orderedlist>
1919- <listitem><para><filename>$HOME/.compiz/plugins</filename>
2020- should contain plugins you want to load. All the installed
2121- plugins are available in
2222- <filename>/run/current-system/sw/share/compiz-plugins/compiz/</filename>,
2323- so you can use symlinks to this directory.
2424- </para></listitem>
2525-2626- <listitem><para><filename>$HOME/.compiz/metadata</filename>
2727- should contain metadata (definition of configuration options) for plugins
2828- you want to load. All the installed metadata is available in
2929- <filename>/run/current-system/sw/share/compiz/</filename>,
3030- so you can use symlinks to this directory.
3131- </para></listitem>
3232-3333- <listitem><para>
3434- Probably a way to load <literal>GConf</literal> configuration backend by default
3535- should be found, but if you run <literal>Compiz</literal> with
3636- <literal>GConf</literal> configuration (default for <literal>X server</literal> job
3737- for now), you have to link
3838- <filename>/run/current-system/sw/share/compizconfig/backends/</filename>
3939- into <filename>$HOME/.compizconfig/backends</filename> directory.
4040- </para></listitem>
4141-4242- </orderedlist>
4343-4444- To summarize the above, these are the commands you have to execute
4545- <command>ln -s /run/current-system/sw/share/compiz/ $HOME/.compiz/metadata</command>
4646- <command>ln -s /run/current-system/sw/share/compiz-plugins/compiz/ $HOME/.compiz/plugins</command>
4747- <command>ln -s /run/current-system/sw/share/compizconfig/backends/ $HOME/.compizconfig/backends</command>
4848-4949- Now you can launch <literal>ccsm</literal> and configure everything. You should select
5050- GConf as a backend in the preferences menu of <literal>ccsm</literal>
5151-</para>
5252-</section>
5353-5454-<section>
5555-<title>Pidgin-LaTeX</title>
5656-<para>
5757- To have pidgin-latex plugin working after installation, you need the following:
5858- <orderedlist>
5959- <listitem><para>
6060- Symlink <filename>/run/current-system/sw/share/pidgin-latex/pidgin-latex.so</filename>
6161- to <filename>$HOME/.purple/plugins/pidgin-latex.so</filename>
6262- </para></listitem>
6363- <listitem><para>
6464- Enable smileys. If you do not want to, you can create
6565- <filename>$HOME/.purple/smileys/empty/theme</filename> with the following contents:
6666- <programlisting>
6767- Name=Empty
6868- Description=No predefined smileys
6969- Author=Nobody
7070- </programlisting>
7171- Enabling this theme will enable smileys, but define none.
7272- </para></listitem>
7373- <listitem><para>
7474- Enable the plugin.
7575- </para></listitem>
7676- </orderedlist>
7777- </para>
7878- </section>
7979-8080-</chapter>
+11-1
nixos/modules/services/x11/xserver.nix
···229229 '';
230230 };
231231232232+ s3tcSupport = mkOption {
233233+ default = false;
234234+ description = ''
235235+ Make S2TC via libtxc_dxtn available to OpenGL drivers. Using
236236+ this library may require a patent license depending on your location.
237237+ '';
238238+ };
239239+232240 startOpenSSHAgent = mkOption {
233241 default = true;
234242 description = ''
···410418 optionals (elem "nvidia" driverNames) [ "nouveau" "nvidiafb" ];
411419412420 environment.variables.LD_LIBRARY_PATH =
413413- [ "/run/opengl-driver/lib" "/run/opengl-driver-32/lib" ];
421421+ [ "/run/opengl-driver/lib" "/run/opengl-driver-32/lib" ]
422422+ ++ pkgs.lib.optional cfg.s3tcSupport "${pkgs.libtxc_dxtn}/lib"
423423+ ++ pkgs.lib.optional (cfg.s3tcSupport && cfg.driSupport32Bit) "${pkgs_i686.libtxc_dxtn}/lib";
414424415425 environment.etc =
416426 (optionals cfg.exportConfiguration
+39
pkgs/applications/ike/default.nix
···11+{ stdenv, fetchurl, cmake, openssl, libedit, flex, bison, qt4, makeWrapper, gcc }:
22+33+# NOTE: use $out/etc/iked.conf as sample configuration and also set: dhcp_file "/etc/iked.dhcp";
44+# launch with "iked -f /etc/iked.conf"
55+66+stdenv.mkDerivation rec {
77+ name = "ike-2.2.1";
88+99+ src = fetchurl {
1010+ url = "https://www.shrew.net/download/ike/${name}-release.tgz";
1111+ sha256 = "0fhyr2psd93b0zf7yfb72q3nqnh65mymgq5jpjcsj9jv5kfr6l8y";
1212+ };
1313+1414+ buildInputs = [ cmake openssl libedit flex bison qt4 makeWrapper ];
1515+1616+ configurePhase = ''
1717+ mkdir -p $out/{bin,sbin,lib}
1818+ cmake -DQTGUI=YES -DETCDIR=$out/etc -DLIBDIR=$out/lib -DSBINDIR=$out/sbin -DBINDIR=$out/bin -DMANDIR=$out/man -DNATT=YES -DCMAKE_INSTALL_PREFIX:BOOL=$out
1919+ '';
2020+2121+ buildPhase = ''
2222+ make
2323+ '';
2424+2525+ installPhase = ''
2626+ make install
2727+ for file in "$out"/bin/* "$out"/sbin/*; do
2828+ wrapProgram $file --prefix LD_LIBRARY_PATH ":" "$out/lib:${openssl}/lib:${gcc.gcc}/lib:${libedit}/lib:${qt4}/lib"
2929+ done
3030+ '';
3131+3232+ meta = with stdenv.lib; {
3333+ homepage = https://www.shrew.net/software;
3434+ description = "IPsec Client for FreeBSD, NetBSD and many Linux based operating systems";
3535+ platforms = platforms.unix;
3636+ maintainers = [ maintainers.iElectric ];
3737+ license = "sleepycat";
3838+ };
3939+}