mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Use lib.head more
This commit is contained in:
parent
91ee04c46f
commit
15f5859956
2 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ in systemConfiguration {
|
|||
HTTP_ADDR = "::1";
|
||||
HTTP_PORT = port;
|
||||
|
||||
SSH_PORT = builtins.elemAt config.services.openssh.ports 0;
|
||||
SSH_PORT = head config.services.openssh.ports;
|
||||
|
||||
DISABLE_ROUTER_LOG = true;
|
||||
};
|
||||
|
|
|
@ -126,7 +126,7 @@ in homeConfiguration {
|
|||
|
||||
core.sshCommand = "ssh -i ~/.ssh/id";
|
||||
url."ssh://git@github.com/".insteadOf = "https://github.com/";
|
||||
url."ssh://forgejo@${gitDomain}:2222/".insteadOf = "https://${gitDomain}/";
|
||||
url."ssh://forgejo@${gitDomain}:${head self.cube.openssh.ports}/".insteadOf = "https://${gitDomain}/";
|
||||
} (mkIf isDesktop {
|
||||
commit.gpgSign = true;
|
||||
tag.gpgSign = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue