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

14 lines
348 B
Nix

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