aboutsummaryrefslogtreecommitdiff
path: root/vps-configuration.env.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-22 19:13:37 -0300
committerEuAndreh <eu@euandre.org>2020-08-22 19:13:37 -0300
commitd9facfe6540fe7151516057aecb65e8efdbf7b63 (patch)
treee1779475905171fd0a3eb52bb87467eeb8d2d75c /vps-configuration.env.nix
parentAdd songbooks documentation DNS address (diff)
downloadserver-d9facfe6540fe7151516057aecb65e8efdbf7b63.tar.gz
server-d9facfe6540fe7151516057aecb65e8efdbf7b63.tar.xz
nixfmt ./vps-configuration.env.nix
Diffstat (limited to 'vps-configuration.env.nix')
-rw-r--r--vps-configuration.env.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix
index 183abc4..d66bd38 100644
--- a/vps-configuration.env.nix
+++ b/vps-configuration.env.nix
@@ -35,16 +35,16 @@ let
};
staticSiteFromRepo = repoName:
pkgs.stdenv.mkDerivation {
- name = repoName;
- src =
- fetchTarball "https://git.sr.ht/~euandreh/${DOLLAR}{repoName}/archive/master.tar.gz";
- phases = "unpackPhase buildPhase";
- buildPhase = ''
- mkdir ${DOLLAR}out
- cp index.html ${DOLLAR}out
- cp favicon.ico ${DOLLAR}out
- '';
- };
+ name = repoName;
+ src = fetchTarball
+ "https://git.sr.ht/~euandreh/${DOLLAR}{repoName}/archive/master.tar.gz";
+ phases = "unpackPhase buildPhase";
+ buildPhase = ''
+ mkdir ${DOLLAR}out
+ cp index.html ${DOLLAR}out
+ cp favicon.ico ${DOLLAR}out
+ '';
+ };
in {
imports = [ ./hardware-configuration.nix ];