wiki: fix old references to krebs.gollum
This commit is contained in:
parent
d8d6fe24a0
commit
2447bc7d8c
|
@ -4,9 +4,9 @@ let
|
||||||
|
|
||||||
setupGit = ''
|
setupGit = ''
|
||||||
export PATH=${makeBinPath [ pkgs.git ]}
|
export PATH=${makeBinPath [ pkgs.git ]}
|
||||||
export GIT_SSH_COMMAND='${pkgs.openssh}/bin/ssh -i ${config.krebs.gollum.stateDir}/.ssh/id_ed25519'
|
export GIT_SSH_COMMAND='${pkgs.openssh}/bin/ssh -i ${config.services.gollum.stateDir}/.ssh/id_ed25519'
|
||||||
repo='git@localhost:wiki'
|
repo='git@localhost:wiki'
|
||||||
cd ${config.krebs.gollum.stateDir}
|
cd ${config.services.gollum.stateDir}
|
||||||
if ! url=$(git config remote.origin.url); then
|
if ! url=$(git config remote.origin.url); then
|
||||||
git remote add origin "$repo"
|
git remote add origin "$repo"
|
||||||
elif test "$url" != "$repo"; then
|
elif test "$url" != "$repo"; then
|
||||||
|
@ -89,7 +89,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
krebs.secret.files.gollum = {
|
krebs.secret.files.gollum = {
|
||||||
path = "${config.krebs.gollum.stateDir}/.ssh/id_ed25519";
|
path = "${config.services.gollum.stateDir}/.ssh/id_ed25519";
|
||||||
owner = { name = "gollum"; };
|
owner = { name = "gollum"; };
|
||||||
source-path = "${<secrets/gollum.id_ed25519>}";
|
source-path = "${<secrets/gollum.id_ed25519>}";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user