···4949 '';
5050 };
51515252+ daemonNiceLevel = mkOption {
5353+ type = types.ints.between (-20) 19;
5454+ default = 0;
5555+ description = ''
5656+ Daemon process priority for FAHClient.
5757+ 0 is the default Unix process priority, 19 is the lowest.
5858+ '';
5959+ };
6060+5261 extraArgs = mkOption {
5362 type = types.listOf types.str;
5463 default = [];
···7079 serviceConfig = {
7180 DynamicUser = true;
7281 StateDirectory = "foldingathome";
8282+ Nice = cfg.daemonNiceLevel;
7383 WorkingDirectory = "%S/foldingathome";
7484 };
7585 };
+12-2
nixos/modules/services/networking/cjdns.nix
···1212 { ... }:
1313 { options =
1414 { password = mkOption {
1515- type = types.str;
1616- description = "Authorized password to the opposite end of the tunnel.";
1515+ type = types.str;
1616+ description = "Authorized password to the opposite end of the tunnel.";
1717+ };
1818+ login = mkOption {
1919+ default = "";
2020+ type = types.str;
2121+ description = "(optional) name your peer has for you";
2222+ };
2323+ peerName = mkOption {
2424+ default = "";
2525+ type = types.str;
2626+ description = "(optional) human-readable name for peer";
1727 };
1828 publicKey = mkOption {
1929 type = types.str;
+20-35
pkgs/applications/editors/bless/default.nix
···11{ lib, stdenv
22, fetchFromGitHub
33-, autoreconfHook
43, pkg-config
54, mono
55+, meson
66+, ninja
67, gtk-sharp-2_0
78, gettext
89, makeWrapper
910, glib
1011, gtk2-x11
1111-, gnome2
1212+, libxslt
1313+, docbook_xsl
1414+, python3
1215}:
13161417stdenv.mkDerivation rec {
1518 pname = "bless";
1616- version = "0.6.2";
1919+ version = "0.6.3";
17201821 src = fetchFromGitHub {
1922 owner = "afrantzis";
2023 repo = pname;
2124 rev = "v${version}";
2222- sha256 = "04ra2mcx3pkhzbhcz0zwfmbpqj6cwisrypi6xbc2d6pxd4hdafn1";
2525+ hash = "sha256-rS+vJX0y9v1TiPsRfABroHiTuENQKEOxNsyKwagRuHM=";
2326 };
24272828+ postPatch = ''
2929+ sed "s|get_option('tests')|false|g" -i meson.build
3030+ patchShebangs .
3131+ '';
3232+2533 buildInputs = [
2634 gtk-sharp-2_0
2735 mono
2836 # runtime only deps
2937 glib
3038 gtk2-x11
3131- gnome2.libglade
3239 ];
33403441 nativeBuildInputs = [
3542 pkg-config
3636- autoreconfHook
4343+ meson
4444+ ninja
3745 gettext
3846 makeWrapper
4747+ libxslt
4848+ docbook_xsl
4949+ python3
3950 ];
40514141- configureFlags = [
4242- # scrollkeeper is a gnome2 package, so it must be old and we shouldn't really support it
4343- # NOTE: that sadly doesn't turn off the compilation of the manual with scrollkeeper, so we have to fake the binaries below
4444- "--without-scrollkeeper"
4545- ];
4646-4747- autoreconfPhase = ''
4848- mkdir _bin
4949-5050- # this fakes the scrollkeeper commands, to keep the build happy
5151- for f in scrollkeeper-preinstall scrollkeeper-update; do
5252- echo "true" > ./_bin/$f
5353- chmod +x ./_bin/$f
5454- done
5555-5656- export PATH="$PWD/_bin:$PATH"
5757-5858- # and it also wants to install that file
5959- touch ./doc/user/bless-manual.omf
6060-6161- # patch mono path
6262- sed "s|^mono|${mono}/bin/mono|g" -i src/bless-script.in
6363-6464- ./autogen.sh
6565- '';
6666-6752 preFixup = ''
6868- MPATH="${gtk-sharp-2_0}/lib/mono/gtk-sharp-2.0:${glib.out}/lib:${gtk2-x11}/lib:${gnome2.libglade}/lib:${gtk-sharp-2_0}/lib"
6969- wrapProgram $out/bin/bless --prefix MONO_PATH : "$MPATH" --prefix LD_LIBRARY_PATH : "$MPATH"
7070- '';
5353+ MPATH="${gtk-sharp-2_0}/lib/mono/gtk-sharp-2.0:${glib.out}/lib:${gtk2-x11}/lib:${gtk-sharp-2_0}/lib"
5454+ wrapProgram $out/bin/bless --prefix MONO_PATH : "$MPATH" --prefix LD_LIBRARY_PATH : "$MPATH" --prefix PATH : ${lib.makeBinPath [ mono ]}
5555+ '';
71567257 meta = with lib; {
7358 homepage = "https://github.com/afrantzis/bless";