summaryrefslogtreecommitdiff
path: root/modules/launchd
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-03-05 20:36:50 +0100
committerDaiderd Jordan <daiderd@gmail.com>2017-03-05 20:39:48 +0100
commita12b9def6c05f136dce378b61539937b6da5a868 (patch)
tree657a4a49a4496cbc2ae304efd5aa69e4ee3d6c16 /modules/launchd
parent258cda10ce570a127d828e5b97a00e1ef031453c (diff)
launchd: fix types for StartCalendarInterval
Diffstat (limited to 'modules/launchd')
-rw-r--r--modules/launchd/launchd.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix
index 9dd88cf..85d09d3 100644
--- a/modules/launchd/launchd.nix
+++ b/modules/launchd/launchd.nix
@@ -340,7 +340,7 @@ with lib;
type = types.nullOr (types.listOf (types.submodule {
options = {
Minute = mkOption {
- type = types.nullOr types.integer;
+ type = types.nullOr types.int;
default = null;
description = ''
The minute on which this job will be run.
@@ -348,7 +348,7 @@ with lib;
};
Hour = mkOption {
- type = types.nullOr types.integer;
+ type = types.nullOr types.int;
default = null;
description = ''
The hour on which this job will be run.
@@ -356,7 +356,7 @@ with lib;
};
Day = mkOption {
- type = types.nullOr types.integer;
+ type = types.nullOr types.int;
default = null;
description = ''
The day on which this job will be run.
@@ -364,7 +364,7 @@ with lib;
};
Weekday = mkOption {
- type = types.nullOr types.integer;
+ type = types.nullOr types.int;
default = null;
description = ''
The weekday on which this job will be run (0 and 7 are Sunday).
@@ -372,7 +372,7 @@ with lib;
};
Month = mkOption {
- type = types.nullOr types.integer;
+ type = types.nullOr types.int;
default = null;
description = ''
The month on which this job will be run.