1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Use lib.head more

This commit is contained in:
RGBCube 2024-04-30 12:56:08 +03:00
parent 91ee04c46f
commit 15f5859956
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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;
};

View file

@ -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;