···44 pkgs,
55 ...
66}:
77-88-with lib;
99-107let
118 cfg = config.services.automatic-timezoned;
129in
1310{
1411 options = {
1512 services.automatic-timezoned = {
1616- enable = mkOption {
1717- type = types.bool;
1313+ enable = lib.mkOption {
1414+ type = lib.types.bool;
1815 default = false;
1916 description = ''
2017 Enable `automatic-timezoned`, simple daemon for keeping the system
···2825 to make the choice deliberate. An error will be presented otherwise.
2926 '';
3027 };
3131- package = mkPackageOption pkgs "automatic-timezoned" { };
2828+ package = lib.mkPackageOption pkgs "automatic-timezoned" { };
3229 };
3330 };
34313535- config = mkIf cfg.enable {
3232+ config = lib.mkIf cfg.enable {
3633 # This will give users an error if they have set an explicit time
3734 # zone, rather than having the service silently override it.
3835 time.timeZone = null;