nixpkgs/nixos/modules
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
..
config fontconfig: stringify dpi correctly 2015-02-01 16:18:48 -06:00
hardware nixos/nvidia: use correct 32-bit legacy libs; refactor 2015-02-21 16:34:24 +01:00
installer Merge pull request #5704 from eduarrrd/nixos-version 2015-02-20 16:35:56 +01:00
misc exim: add version 4.85 incl. nixos module 2015-02-20 10:49:15 +01:00
profiles
programs environment: use Qt 5 Qml import paths 2015-02-21 11:39:20 -06:00
security /etc/ssl/certs/ca-bundle.crt -> ca-certificates.crt 2015-02-15 19:06:31 +01:00
services nixos/dhcpcd: Only run resume commands if enabled. 2015-02-22 08:09:04 +01:00
system Enhance stage-1/2 scripts for better dealing with squashfs 2015-02-20 17:42:22 +01:00
tasks nixos/zfs: Use the git version for kernels unsupported by 0.6.3 2015-02-11 15:11:56 -08:00
testing
virtualisation bridge-utils: align attrname with pkgname 2015-02-20 22:30:51 +01:00
module-list.nix exim: add version 4.85 incl. nixos module 2015-02-20 10:49:15 +01:00
rename.nix nixos/rename: Fix merging multiple destinations. 2015-01-22 14:08:28 +01:00