summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorEthel Morgan <eth@ethulhu.co.uk>2020-07-27 20:50:20 +0100
committerEthel Morgan <eth@ethulhu.co.uk>2020-07-27 20:50:20 +0100
commit54e8b0380ddab30100779a193c968919af7095d2 (patch)
tree7026d524270ecf66c7b49217f913207cb4e0b763 /nixos
parente130424c2fd01f2c2bac23832e2e88c9604cc78a (diff)
add an example to eth.services.pushover
Diffstat (limited to '')
-rw-r--r--nixos/modules/services/pushover.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/pushover.nix b/nixos/modules/services/pushover.nix
index d558022..dfdf154 100644
--- a/nixos/modules/services/pushover.nix
+++ b/nixos/modules/services/pushover.nix
@@ -81,6 +81,14 @@ in {
};
});
};
+ example = {
+ "eat dinner" = {
+ enable = true;
+ message = "food is good for you";
+ schedule = "daily 18:30";
+ delayUpTo = "1h";
+ };
+ };
};
config = mkIf cfg.enable {