summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
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";