mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Don't need ssh auth for vpses
This commit is contained in:
parent
eafa0569c5
commit
52f2f7eb05
1 changed files with 3 additions and 2 deletions
|
@ -125,13 +125,14 @@ in homeConfiguration {
|
||||||
|
|
||||||
# https://bernsteinbear.com/git
|
# https://bernsteinbear.com/git
|
||||||
alias.recent = "! git branch --sort=-committerdate --format=\"%(committerdate:relative)%09%(refname:short)\" | head -10";
|
alias.recent = "! git branch --sort=-committerdate --format=\"%(committerdate:relative)%09%(refname:short)\" | head -10";
|
||||||
|
} (mkIf isDesktop {
|
||||||
core.sshCommand = "ssh -i ~/.ssh/id";
|
core.sshCommand = "ssh -i ~/.ssh/id";
|
||||||
url."ssh://git@github.com/".insteadOf = "https://github.com/";
|
url."ssh://git@github.com/".insteadOf = "https://github.com/";
|
||||||
url."ssh://forgejo@${gitDomain}:${toString (head self.cube.services.openssh.ports)}/".insteadOf = gitUrl;
|
url."ssh://forgejo@${gitDomain}:${toString (head self.cube.services.openssh.ports)}/".insteadOf = gitUrl;
|
||||||
} (mkIf isDesktop {
|
|
||||||
commit.gpgSign = true;
|
commit.gpgSign = true;
|
||||||
tag.gpgSign = true;
|
tag.gpgSign = true;
|
||||||
|
|
||||||
gpg.format = "ssh";
|
gpg.format = "ssh";
|
||||||
user.signingKey = "~/.ssh/id";
|
user.signingKey = "~/.ssh/id";
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue