From 7236216e85f72dec7ebe29c74f6eaac894d238d9 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 7 Feb 2024 10:21:15 +0300 Subject: [PATCH] Undo that lol --- hosts/cube/forgejo.nix | 7 ------- modules/git.nix | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/hosts/cube/forgejo.nix b/hosts/cube/forgejo.nix index 9b7b56e..b7052d4 100644 --- a/hosts/cube/forgejo.nix +++ b/hosts/cube/forgejo.nix @@ -15,12 +15,6 @@ in serverSystemConfiguration { }]; }; - users.users.git = { - createHome = false; - group = "forgejo"; - isSystemUser = true; - }; - services.forgejo = enabled { lfs = enabled {}; @@ -86,7 +80,6 @@ in serverSystemConfiguration { HTTP_PORT = 8004; SSH_PORT = builtins.elemAt config.services.openssh.ports 0; - SSH_USER = "git"; DISABLE_ROUTER_LOG = true; }; diff --git a/modules/git.nix b/modules/git.nix index cd1275a..f57cdb4 100644 --- a/modules/git.nix +++ b/modules/git.nix @@ -81,7 +81,7 @@ homeConfiguration { core.sshCommand = "ssh -i ~/.ssh/id"; url."ssh://git@github.com/".insteadOf = "https://github.com/"; - url."ssh://git@rgbcu.be:2222/".insteadOf = "https://git.rgbcu.be/"; + url."ssh://forgejo@rgbcu.be:2222/".insteadOf = "https://git.rgbcu.be/"; } // lib.optionalAttrs ulib.isDesktop { commit.gpgSign = true; gpg.format = "ssh";