Compare commits

...

2 Commits

3 changed files with 6 additions and 3 deletions

View File

@ -61,6 +61,7 @@ in
services.nginx.virtualHosts."${gitlab_host}" = {
locations."/".proxyPass = "http://127.0.0.1:8080";
serverAliases = [ "gitlab.${fqdn}" ];
forceSSL = true;
enableACME = true;
};

View File

@ -72,7 +72,6 @@ in {
nginx.virtualHosts."${gitea_host}" = {
enableACME = true;
forceSSL = true;
serverAliases = [ "gitlab.${fqdn}" ];
locations."/".proxyPass =
"http://${config.services.gitea.settings.server.HTTP_ADDR}:${
builtins.toString config.services.gitea.settings.server.HTTP_PORT

View File

@ -1,5 +1,4 @@
{ pkgs, user, config, ... }:
{
{ pkgs, user, config, ... }: {
security.sudo.wheelNeedsPassword = false;
users.users = {
root.hashedPasswordFile = config.age.secrets.users-root-pw.path;
@ -13,4 +12,8 @@
];
};
};
environment.persistence.ephemeral.users = {
price = { files = [ ".bash_history" ]; };
root = { home = "/root"; files = [ ".bash_history" ]; };
};
}