mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
Oops, placed mkIf in the wrong place. Fixing
svn path=/nixos/trunk/; revision=18402
This commit is contained in:
parent
a94da97354
commit
ddc5a7d7c5
@ -26,7 +26,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = mkIf config.services.monit.enable {
|
||||
environment.etc = [
|
||||
{
|
||||
source = pkgs.writeTextFile {
|
||||
@ -37,7 +37,7 @@ in
|
||||
mode = "0400";
|
||||
}
|
||||
];
|
||||
jobs.monit = mkIf config.services.monit.enable {
|
||||
jobs.monit = {
|
||||
description = "Monit system watcher";
|
||||
|
||||
startOn = config.services.monit.startOn;
|
||||
|
Loading…
Reference in New Issue
Block a user