From 0bd76deb353f84a6a7407bad9fba184b616c983f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 20 Feb 2023 23:53:22 +0100 Subject: [PATCH] c3d2-web: use lib.mkOptionDefault instead of options.*.default --- hosts/c3d2-web/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/c3d2-web/default.nix b/hosts/c3d2-web/default.nix index 123bda28..db2587ed 100644 --- a/hosts/c3d2-web/default.nix +++ b/hosts/c3d2-web/default.nix @@ -1,4 +1,4 @@ -{ config, hostRegistry, options, pkgs, ... }: +{ config, hostRegistry, lib, options, pkgs, ... }: let webroot = "/var/www"; in @@ -9,7 +9,7 @@ in }; c3d2.deployment = { # /tmp is to small for drone to clone the repo even with depth - mounts = options.c3d2.deployment.mounts.default ++ [ "tmp" ]; + mounts = lib.mkOptionDefault ++ [ "tmp" ]; server = "server10"; };