···1-Copyright (c) 2003-2016 Eelco Dolstra and the Nixpkgs/NixOS contributors
23Permission is hereby granted, free of charge, to any person obtaining
4a copy of this software and associated documentation files (the
···1+Copyright (c) 2003-2017 Eelco Dolstra and the Nixpkgs/NixOS contributors
23Permission is hereby granted, free of charge, to any person obtaining
4a copy of this software and associated documentation files (the
···281 riak-cs = 263;
282 infinoted = 264;
283 keystone = 265;
0284285 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
286···532 riak-cs = 263;
533 infinoted = 264;
534 keystone = 265;
0535536 # When adding a gid, make sure it doesn't match an existing
537 # uid. Users and groups with the same name should have equal
···281 riak-cs = 263;
282 infinoted = 264;
283 keystone = 265;
284+ glance = 266;
285286 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
287···533 riak-cs = 263;
534 infinoted = 264;
535 keystone = 265;
536+ glance = 266;
537538 # When adding a gid, make sure it doesn't match an existing
539 # uid. Users and groups with the same name should have equal
···33 '';
34 };
35000000000036 extraConfig = mkOption {
37 type = types.lines;
38 default = "";
···44 '';
45 };
4647+ mediaKeys = {
48+49+ enable = mkOption {
50+ type = types.bool;
51+ default = false;
52+ description = ''
53+ Whether to enable volume and capture control with keyboard media keys.
54+55+ Enabling this will turn on <option>services.actkbd</option>.
56+ '';
57+ };
58+59+ volumeStep = mkOption {
60+ type = types.string;
61+ default = "1";
62+ example = "1%";
63+ description = ''
64+ The value by which to increment/decrement volume on media keys.
65+66+ See amixer(1) for allowed values.
67+ '';
68+ };
69+70+ };
71+72 };
7374 };
···105 };
106 };
107108+ services.actkbd = mkIf config.sound.mediaKeys.enable {
109 enable = true;
110 bindings = [
111 # "Mute" media key
112 { keys = [ 113 ]; events = [ "key" ]; command = "${alsaUtils}/bin/amixer -q set Master toggle"; }
113114 # "Lower Volume" media key
115+ { keys = [ 114 ]; events = [ "key" "rep" ]; command = "${alsaUtils}/bin/amixer -q set Master ${config.sound.mediaKeys.volumeStep}- unmute"; }
116117 # "Raise Volume" media key
118+ { keys = [ 115 ]; events = [ "key" "rep" ]; command = "${alsaUtils}/bin/amixer -q set Master ${config.sound.mediaKeys.volumeStep}+ unmute"; }
119120 # "Mic Mute" media key
121 { keys = [ 190 ]; events = [ "key" ]; command = "${alsaUtils}/bin/amixer -q set Capture toggle"; }
+4-4
nixos/modules/services/audio/mpd.nix
···8384 listenAddress = mkOption {
85 type = types.str;
86- default = "any";
087 description = ''
88- This setting sets the address for the daemon to listen on. Careful attention
89- should be paid if this is assigned to anything other then the default, any.
90- This setting can deny access to control of the daemon.
91 '';
92 };
93
···8384 listenAddress = mkOption {
85 type = types.str;
86+ default = "127.0.0.1";
87+ example = "any";
88 description = ''
89+ The address for the daemon to listen on.
90+ Use <literal>any</literal> to listen on all addresses.
091 '';
92 };
93
···1-#! /bin/sh /usr/share/dpatch/dpatch-run
2-## 03_diffoptstypo.dpatch by <crafterm@debian.org>
3-##
4-## All lines beginning with `## DP:' are a description of the patch.
5-## DP: Diff opts typo fix
6-7-@DPATCH@
8-9---- cvsps-2.1-orig/cvsps.1 2005-05-26 05:39:40.000000000 +0200
10-+++ cvsps-2.1/cvsps.1 2005-07-28 15:17:48.885112048 +0200
11-@@ -83,7 +83,7 @@
12- disable the use of rlog internally. Note: rlog is
13- required for stable PatchSet numbering. Use with care.
14- .TP
15--.B \-\-diffs\-opts <option string>
16-+.B \-\-diff\-opts <option string>
17- send a custom set of options to diff, for example to increase
18- the number of context lines, or change the diff format.
19- .TP
···1-diff -Naur GG/src/Font.cpp
2---- /GG/src/Font.cpp
3-+++ /GG/src/Font.cpp
4-@@ -1586,8 +1586,13 @@
5- using boost::lexical_cast;
6- FT_UInt index = FT_Get_Char_Index(face, ch);
7- if (index) {
8-- if (FT_Load_Glyph(face, index, FT_LOAD_DEFAULT))
9-- ThrowBadGlyph("GG::Font::GetGlyphBitmap : Freetype could not load the glyph for character '%1%'", ch);
10-+ if (FT_Load_Glyph(face, index, FT_LOAD_DEFAULT)) {
11-+ // loading of a glpyh failed so we replace it with
12-+ // the 'Replacement Character' at codepoint 0xFFFD
13-+ FT_UInt tmp_index = FT_Get_Char_Index(face, 0xFFFD);
14-+ if (FT_Load_Glyph(face, tmp_index, FT_LOAD_DEFAULT))
15-+ ThrowBadGlyph("GG::Font::GetGlyphBitmap : Freetype could not load the glyph for character '%1%'", ch);
16-+ }
17-18- FT_GlyphSlot glyph = face->glyph;
19-