summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-02-03 20:54:08 +0100
committerJasper Ras <jras@hostnet.nl>2025-02-03 20:55:30 +0100
commit530dec28da62ebf612fe9f094db0dd6e9c7f5515 (patch)
treef7498c659a699aa6a57b368dc379ecb2c30fe7d0 /roles
parent0e825e43e580b5ed3f053de4ff6d942c8b1347bc (diff)
make snorlax into git server
Diffstat (limited to 'roles')
-rw-r--r--roles/git-server.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/git-server.nix b/roles/git-server.nix
index aea0b18..2e6e0f7 100644
--- a/roles/git-server.nix
+++ b/roles/git-server.nix
@@ -1,7 +1,10 @@
{ ... }:
{
- users.users.git.isNormalUser = true;
- services.openssh.AllowUsers = [ "git" ];
+ users.users.git = {
+ isSystemUser = true;
+ hashedPassword = "$6$/HNLIUOZZmm/OZjK$.t6uB3L2vHq9oSfMv7421ubA3xv3NuCu8zAguQalNt7X5uj9ZuZbXJW3/VTfnIrY9S8KIq.YQ8hgEyts0RLAq0";
+ };
+ services.openssh.settings.AllowUsers = [ "git" ];
services.gitea = {
enable = true;
appName = "JAP56 Git Server";