From a35050d9bc640309a8216b520a9b0350266de74f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 27 Mar 2023 17:49:49 -0700 Subject: modules/sendsms: gate the unit with a file To prevent the unit to be triggered multiple times if the host has already rebooted, we create a gate file when we're done running, and before running, we check if the file exists. Enable the service on tahoe. Don't restart the unit when its definition has changed. --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index f08ceb7..6179c2e 100644 --- a/flake.nix +++ b/flake.nix @@ -54,6 +54,10 @@ nixpkgs-stable.follows = "nixpkgs"; }; }; + + sendsms = { + url = "git+https://git.fcuny.net/fcuny/sendsms?ref=main"; + }; }; # Output config, or config for NixOS system -- cgit 1.4.1