35416 Commits

Author SHA1 Message Date
Bjørn Forsman
fe9ac2ca1c apcupsd-service: workaround for "A stop job is running for UPS daemon"
When apcupsd has initiated a shutdown, systemd always ends up waiting
for it to stop ("A stop job is running for UPS daemon"). This is weird,
because in the journal one can clearly see that apcupsd has received the
SIGTERM signal and has already quit (or so it seems). This reduces the
wait time from 90 seconds (default) to just 5. Then systemd kills it
with SIGKILL.
2013-07-22 14:57:28 +02:00
Bjørn Forsman
95e2006653 apcupsd-service: put UPS in hibernate mode when shutting down
This adds a special systemd service that calls "apcupsd --killpower"
(put UPS in hibernate mode) just before shutting down the system.
Without this command, the UPS will stay on until the battery is
completely empty.
2013-07-22 14:57:05 +02:00
Bjørn Forsman
d6e5484e2b apcupsd-service: create missing /run/apcupsd/ directory
apcupsd complains about this missing directory when it is starting the
shutdown procedure.
2013-07-22 14:54:27 +02:00
Bjørn Forsman
dc61694d01 apcupsd-service: add services.apcupsd.hooks option
Each attribute in this option should name an apcupsd event and the
string value it contains will be executed in a shell in response to that
event. See "man apccontrol" for the list of events and what they
represent.

Now it is easy to hook into the apcupsd event system:

  services.apcupsd.hooks = {
    onbattery  = ''# shell commands to run when the onbattery event is emitted'';
    doshutdown = ''# shell commands to notify that the computer is shutting down'';
  };
2013-07-22 14:19:21 +02:00
Peter Simons
6341a12587 modules/services/networking/dhcpcd.nix: add "extraConfig" option
This option allows administrators to add verbatim text to the generated
config file. I use this feature, for instance, to disable the default
route normally added by dhcpcd for certain interfaces.
2013-07-22 14:16:13 +02:00
Cillian de Róiste
a321f6f302 Oxygen-gtk: upgrade to 1.3.4 2013-07-22 14:05:39 +02:00
Sander van der Burg
48e187836b Added flatiron nodejs package + updated other nodejs packages 2013-07-22 11:15:21 +02:00
Jason "Don" O'Conal
f2601c5ade matplotlib: fix build on darwin
* build with clangStdenv
* update to 1.2.1
2013-07-22 13:54:52 +10:00
Bjørn Forsman
2f41fbad51 Merge pull request #774 from aristidb/master
Add nvidia-smi tool and fix an embarrassing bug in a previous pull request of mine
2013-07-21 13:53:19 -07:00
Bjørn Forsman
480f27b218 apcupsd: use /run/nologin (instead of /etc/nologin) to prevent logins
This is what systemd uses, see "man systemd-user-sessions.service".
2013-07-21 20:58:26 +02:00
Aristid Breitkreuz
147a6ae62f nvidia: also install useful nvidia-smi tool 2013-07-21 19:32:54 +02:00
Aristid Breitkreuz
38a2056f70 fix bug in perf-linux installation, oops 2013-07-21 19:25:05 +02:00
Peter Simons
7eea045b28 haskell-yesod-bin: update to version 1.2.2 2013-07-21 16:23:58 +02:00
Peter Simons
8d83506452 haskell-yaml: update to version 0.8.4 2013-07-21 16:23:58 +02:00
Peter Simons
88da6b5d89 haskell-xml-types: update to version 0.3.4 2013-07-21 16:23:58 +02:00
Peter Simons
9102dbe667 haskell-xml-conduit: update to version 1.1.0.5 2013-07-21 16:23:58 +02:00
Peter Simons
f749af3daa haskell-shakespeare-text: update to version 1.0.0.6 2013-07-21 16:23:57 +02:00
Peter Simons
fdf9b9784c haskell-shakespeare-js: update to version 1.1.4.1 2013-07-21 16:23:57 +02:00
Peter Simons
e1c3350da4 haskell-shakespeare-css: update to version 1.0.6.2 2013-07-21 16:23:57 +02:00
Peter Simons
8e736f12d4 haskell-contravariant: update to version 0.4.3 2013-07-21 15:52:33 +02:00
Peter Simons
a98a96bffe haskell-conduit: update to version 1.0.7.3 2013-07-21 15:52:33 +02:00
Peter Simons
1d8c4711f6 haskell-comonad-transformers: update to version 3.0.4 2013-07-21 15:52:33 +02:00
Peter Simons
8740b48d86 haskell-classy-prelude: update to version 0.5.9 2013-07-21 15:52:33 +02:00
Peter Simons
16581965df haskell-attoparsec-conduit: update to version 1.0.1.2 2013-07-21 15:52:33 +02:00
Peter Simons
a2b44374ab haskell-atomic-primops: update to version 0.4 2013-07-21 15:52:33 +02:00
Peter Simons
2d0c35ad88 Merge pull request #771 from aforemny/haskell-qrencode
Add haskell-qrencode
2013-07-21 06:41:58 -07:00
Peter Simons
0685198b53 Merge pull request #770 from aforemny/haskell-elm
Add Elm and elm-server
2013-07-21 06:41:26 -07:00
Peter Simons
464acead37 Merge pull request #772 from aforemny/haskell-happstack-lite
Add haskell-happstack-lite
2013-07-21 06:40:43 -07:00
Mathijs Kwik
9230619ee7 haskell-mode: upgrade to 13.07 2013-07-21 09:08:16 +02:00
Michael Raskin
9ff7e1380d Add mi2ly MIDI to lilypond converter 2013-07-21 10:46:48 +04:00
Lluís Batlle i Rossell
a0893d472e Buidling cairo without gl on arm and mips
Mesa didn't build for arm, and I don't think anyone with arm wants mesa now.
And I needed cairo for rrdtool.
2013-07-20 23:16:51 +02:00
Lluís Batlle i Rossell
b513ea43e4 Enable blowfish/twoflish crypto in sheevaplug kernel 2013-07-20 23:16:50 +02:00
Bjørn Forsman
1d59e54ebc apcupsd: fix hostname command patching
The source has HOSTNAME=`hostname` (capture output of hostname command)
but currently it is replaced with HOSTNAME="/path/to/hostname" (which is
just a plain string). Fix it by substituting with
HOSTNAME=`/path/to/hostname`.
2013-07-20 21:44:01 +02:00
Domen Kozar
8ea138d212 add development version of speedtest-cli 2013-07-20 12:48:32 +02:00
Alexander Foremny
7f874ca558 Add haskell-happstack-lite 2013-07-20 12:30:55 +02:00
Alexander Foremny
f2f0674c5b Add haskell-qrencode 2013-07-20 12:29:00 +02:00
Ludovic Courtès
6e97ea6b00 guix: update to 0.3 2013-07-19 23:21:47 +02:00
Eelco Dolstra
c52fd85990 Set permissions on /var/log/journal properly
This makes the system journal readable by users in the
systemd-journal, wheel and adm groups.  It also allows users to read
their own journals.

Note that this doesn't change the permissions of existing journals.
2013-07-19 21:18:44 +02:00
Domen Kožar
60c82048e0 Merge pull request #753 from lovek323/numpy
numpy: fix build on darwin
2013-07-19 12:08:33 -07:00
Domen Kozar
b139a69f7c netpbm: set platforms 2013-07-19 20:48:56 +02:00
Marc Weber
84ca773f9b use simpleDerivation for all Vim plugins 2013-07-19 20:17:42 +02:00
Ertugrul Söylemez
2519a86942 pari: Updated to 2.5.4, fixed GMP and readline support. 2013-07-19 19:52:11 +02:00
Ertugrul Söylemez
fc8d1341f6 Maintainers: added ertes. 2013-07-19 19:52:11 +02:00
Domen Kozar
aeef361b0d netpbm: add tiff support 2013-07-19 19:42:34 +02:00
Eelco Dolstra
bf21bbcf01 Mount /var and some other filesystems automatically in stage 1
Bad things happen if /var is mounted in a late stage.
2013-07-19 17:24:18 +02:00
Shea Levy
272d641f0c Documentation improvement
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-19 11:22:46 -04:00
Shea Levy
be3d498b18 Allow specifying packages whose closures should be in the chroot
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-19 11:21:05 -04:00
Shea Levy
883d310bac Only include /bin/sh (not all of /bin) in the chroot
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-07-19 11:19:07 -04:00
Lluís Batlle i Rossell
4e94dafa4e nut: adding libtool enables nut-scanner 2013-07-19 16:33:42 +02:00
Lluís Batlle i Rossell
b57cdc584a Fixing evtest and updating to 1.31.
The fetchgit wasn't a fixed-output, so on chroot, it couldn't connect.
2013-07-19 16:21:15 +02:00