depot/ops/raritan/ssl-renew/default.nix

15 lines
346 B
Nix
Raw Normal View History

2021-07-17 01:33:01 +00:00
# SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, pkgs, ... }:
pkgs.runCommandNoCC "raritan-update" {
inherit (pkgs) curl jq;
2021-07-17 01:33:01 +00:00
} ''
mkdir $out
substituteAll ${./deploy.sh} $out/deploy.sh
substituteAll ${./lego.sh} $out/lego.sh
chmod +x $out/deploy.sh $out/lego.sh
''