From 3e0c163917de3bc5d010772437c79f3470486e3c Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Tue, 26 Dec 2023 09:04:44 -0800 Subject: [PATCH] added folder exists check before copy --- hosts/Alaska/modules/forgejo.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/Alaska/modules/forgejo.nix b/hosts/Alaska/modules/forgejo.nix index a7a52d9..a0bd52b 100644 --- a/hosts/Alaska/modules/forgejo.nix +++ b/hosts/Alaska/modules/forgejo.nix @@ -8,7 +8,7 @@ let in { system.activationScripts.copyStuff = "cp -r ${../../../rsrcs/giteaCustomDir}/. /Aurora/Forgejo/custom"; - system.activationScripts.copyTheme = "cp ${palenight}/dist/theme-palenight.css /Aurora/Forgejo/custom/public/assets/css/"; + system.activationScripts.copyTheme = "mkdir -p /Aurora/Forgejo/custom/public/assets/css && cp ${palenight}/dist/theme-palenight.css /Aurora/Forgejo/custom/public/assets/css/"; services.gitea = { enable = true;