diff --git a/dragonwell/services/ugit.nix b/dragonwell/services/ugit.nix index f2b452edc30b85011aaffe2c0eb66bf6a19cf1ba..dd93c5be519af424cee850aa5beb708d90eb7c2b 100644 --- a/dragonwell/services/ugit.nix +++ b/dragonwell/services/ugit.nix @@ -18,31 +18,29 @@ repoDir = "${homeDir}/repos"; hostKeyFile = "${homeDir}/ugit_ed25519"; user = "ugit"; group = "ugit"; - settings = { - ssh.clone-url = "ssh://ugit@${host}"; - http = { - port = pubPort; - clone-url = "https://${host}"; - }; - log.json = true; - profile = { - username = jolheiser.username; - email = "ugit@${jolheiser.domain}"; - links = [ - { - name = "GitHub"; - url = "https://github.com/jolheiser"; - } - { - name = "Gitea"; - url = "https://gitea.com/jolheiser"; - } - { - name = "Tangled"; - url = "https://tangled.org/jolheiser.com"; - } - ]; - }; + ssh.cloneUrl = "ugit@${host}"; + http = { + port = pubPort; + cloneUrl = "https://${host}"; + }; + log.json = true; + profile = { + username = jolheiser.username; + email = "ugit@${jolheiser.domain}"; + links = [ + { + name = "GitHub"; + url = "https://github.com/jolheiser"; + } + { + name = "Gitea"; + url = "https://gitea.com/jolheiser"; + } + { + name = "Tangled"; + url = "https://tangled.org/jolheiser.com"; + } + ]; }; }; in @@ -51,11 +49,9 @@ services = { ugit = { public = opts; private = lib.recursiveUpdate opts { - settings = { - ssh.port = 8446; - http.port = privPort; - show-private = true; - }; + ssh.port = 8446; + http.port = privPort; + showPrivate = true; }; }; tailproxy.ugit = { diff --git a/flake.lock b/flake.lock index 35795f264cee5d576750b5c495b70319e0dfe99d..533991b8b67b740352e836e126d3cf5acfacb2cf 100644 --- a/flake.lock +++ b/flake.lock @@ -825,11 +825,11 @@ "tailwind-ctp": "tailwind-ctp", "tailwind-ctp-lsp": "tailwind-ctp-lsp" }, "locked": { - "lastModified": 1790276226, - "narHash": "sha256-lKO85wstlcnIuqo3iLDk0kH+ZbPfssLAkoqI1Z8Bgcw=", + "lastModified": 1790085520, + "narHash": "sha256-r02Hb3LeE9TdiN26GICFRc8ANKLDAGrXawBvr4v7+e0=", "ref": "refs/heads/main", - "rev": "c4ca33ae7dea59f56da4008556190fa72af97daa", - "revCount": 112, + "rev": "b1f33fc696f9209a1f61eacef5abcdcde2b1cd16", + "revCount": 109, "type": "git", "url": "https://git.jolheiser.com/ugit.git" },