diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-02-03 21:02:21 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-02-03 21:09:41 +0100 |
commit | 19931b872863f27fe65dc06fe7e2c095aaddf840 (patch) | |
tree | b48e84f77273be046dfb726b25f55a95e21560b0 /roles | |
parent | 530dec28da62ebf612fe9f094db0dd6e9c7f5515 (diff) |
gitea conf
Diffstat (limited to 'roles')
-rw-r--r-- | roles/git-server.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/roles/git-server.nix b/roles/git-server.nix index 2e6e0f7..935f75f 100644 --- a/roles/git-server.nix +++ b/roles/git-server.nix @@ -1,12 +1,20 @@ { ... }: { + services.openssh.settings.AllowUsers = [ "git" ]; + users.groups.git = {}; users.users.git = { isSystemUser = true; - hashedPassword = "$6$/HNLIUOZZmm/OZjK$.t6uB3L2vHq9oSfMv7421ubA3xv3NuCu8zAguQalNt7X5uj9ZuZbXJW3/VTfnIrY9S8KIq.YQ8hgEyts0RLAq0"; + group = "git"; + hashedPassword = "$6$Rc//lmBr5orYHn.0$M9y3Zj4zCe723r8hYGIhPC5kPv5SVGHjF1FsjrT9IIx7trxuNTLtLDQVL9lhmR5/7bFMUFEf0CMx9w7.vgXgY0"; }; - services.openssh.settings.AllowUsers = [ "git" ]; services.gitea = { enable = true; appName = "JAP56 Git Server"; + group = "git"; + user = "git"; + settings.server = { + HTTP_PORT = 80; + DOMAIN = "snorlax"; + }; }; } |