test password

This commit is contained in:
Bryan Ramos 2025-07-05 23:43:48 -04:00
parent e6aaead5d5
commit 832cd6de4c
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
3 changed files with 9 additions and 1 deletions

View file

@ -19,11 +19,14 @@
};
};
users.mutableUsers = false;
users.users = {
${config.user.name} = {
"${config.user.name}" = {
isNormalUser = true;
extraGroups = config.user.groups;
openssh.authorizedKeys.keys = [ "${config.user.keys.ssh.primary}" ];
password = "123";
};
};

View file

@ -88,5 +88,7 @@ in
"network.target"
];
};
networking.firewall.allowedTCPPorts = [ 9735 ];
};
}

View file

@ -12,6 +12,7 @@ in
users = {
"${config.services.forgejo.user}" = {
description = "Git server system user";
home = config.services.forgejo.stateDir;
isSystemUser = true;
group = "${config.services.forgejo.user}";
extraGroups = mkIf nginx.enable [
@ -54,5 +55,7 @@ in
createDatabase = true;
};
};
networking.firewall.allowedTCPPorts = [ 8333 ];
};
}