3
0
Fork 0
forked from mirrors/nixpkgs

Cleanup: remove newlines.

This commit is contained in:
Thomas Strobel 2014-08-14 12:42:16 +02:00
parent b63b8260b5
commit 1da35629cc

View file

@ -4,37 +4,25 @@ with lib;
let
cfg = config.services.thermald;
in {
###### interface
options = {
services.thermald = {
enable = mkOption {
default = false;
description = ''
Whether to enable thermald, the temperature management daemon.
'';
};
};
};
###### implementation
config = mkIf cfg.enable {
systemd.services.thermald = {
description = "Thermal Daemon Service";
wantedBy = [ "multi-user.target" ];
script = "exec ${pkgs.thermald}/sbin/thermald --no-daemon --dbus-enable";
};
};
}