From b844a0b2033dbaff427a09bdcd4c354080f8a0a5 Mon Sep 17 00:00:00 2001 From: Bastien <51298403+Blackhole1504@users.noreply.github.com> Date: Sat, 7 Jan 2023 12:43:56 +0100 Subject: [PATCH] Make timer the default value Add lib.mkDefault in front of the timer value to be able to specify per host values --- utils/bento.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/bento.nix b/utils/bento.nix index bd989ac..2e3bcc6 100644 --- a/utils/bento.nix +++ b/utils/bento.nix @@ -7,7 +7,7 @@ in { systemd.services.bento-upgrade = { enable = true; - startAt = "${timer}"; + startAt = lib.mkDefault "${timer}"; path = with pkgs; [openssh git nixos-rebuild nix gzip]; serviceConfig.Type = "oneshot"; script = ''