diff --git a/execute.sh b/execute.sh deleted file mode 100644 index 0d6a765..0000000 --- a/execute.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -openssl passwd -6 $1 > dev_user_password.pw - -colmena apply diff --git a/git_system.nix b/git_system.nix index 900dfe9..d0818d6 100644 --- a/git_system.nix +++ b/git_system.nix @@ -105,4 +105,17 @@ in }; }; }; + + package = pkgs.forgejo.overrideAttrs ( + prev: { + postInstall = builtins.concatStringsSep "\n" [ + prev.postInstall + '' + chmod -R u+w $data/templates/custom/ + cp ${./home.tmpl} $data/templates/custom/ + chmod -R u-w $data/templates/custom/ + '' + ]; + } + ); } diff --git a/home.tmpl b/home.tmpl new file mode 100644 index 0000000..e1276fa --- /dev/null +++ b/home.tmpl @@ -0,0 +1,20 @@ +{{template "base/head" .}} +