nixpkgs/nixos/modules/services
aszlig 030895f075
nixos/dhcpcd: Only run resume commands if enabled.
The networkd implementation sets systemd.services.dhcpcd.enable to
false in nixos/modules/tasks/network-interfaces-systemd.nix. So we need
to respect that in the dhcpcd module.

If we don't, the resumeCommand is set nevertheless, which causes the
post-resume.service to fail after resuming:

Failed to reload dhcpcd.service: Unit dhcpcd.service is masked.
post-resume.service: main process exited, code=exited, status=1/FAILURE
Failed to start Post-Resume Actions.
Dependency failed for Post-Resume Actions.
Unit post-resume.service entered failed state.
post-resume.service failed.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-02-22 08:09:04 +01:00
..
amqp nixos/rabbitmq: fix module 2015-01-26 02:09:04 +01:00
audio Add PermissionsStartOnly to mpd service. Closes #6277 2015-02-10 10:18:54 +01:00
backup Almir module: set a working default sqlalchemy_engine_url 2014-11-30 13:11:55 +01:00
cluster panamax: simplify, refactor, add test 2015-02-07 15:32:20 +01:00
computing/torque Merge recent master into staging 2014-09-13 21:48:29 +02:00
continuous-integration/jenkins Merge recent master into staging 2014-09-13 21:48:29 +02:00
databases Merge pull request #5982 from robberer/pkgs/openldap 2015-01-26 10:33:57 +01:00
desktops profile-sync-daemon: refactor module 2014-12-14 00:45:08 -05:00
games Fix some uid/gid attributes to match the actual user/group name 2014-04-29 10:51:42 +02:00
hardware Add freefall NixOS service module 2015-01-28 15:59:21 +01:00
logging Revert "Revert "syslog-ng: Update from 3.5.6 to 3.6.1"" 2014-11-06 21:59:04 +01:00
mail exim: add version 4.85 incl. nixos module 2015-02-20 10:49:15 +01:00
misc Add options to support signed binary caches 2015-02-19 14:22:43 +01:00
monitoring Merge branch 'master' of github.com:nixos/nixpkgs into pleasant-ruby 2015-01-20 20:21:03 -05:00
network-filesystems nixos/samba: cleanup and update defaults 2015-02-04 22:31:50 +03:00
networking nixos/dhcpcd: Only run resume commands if enabled. 2015-02-22 08:09:04 +01:00
printing Create a nixos module for cups-browsed 2015-01-16 14:10:57 +01:00
scheduling Merge pull request #6452 from rushmorem/update-chronos-port 2015-02-19 14:13:00 +01:00
search java: More default cleanups 2015-01-07 14:55:41 -08:00
security nixos/fprintd: add service and pam support 2015-01-03 19:50:40 +03:00
system Added the cloud-init service 2014-12-03 13:22:13 +01:00
torrent nixos/peerflix: fix enable option description 2014-12-03 15:13:50 +01:00
ttys Make console-getty only used inside container by default 2014-09-02 01:36:10 +04:00
web-servers add limesurvey package and nixos module 2015-02-07 23:18:51 +01:00
x11 kde5: remove file collisions 2015-02-21 20:58:43 -06:00