Compare commits
No commits in common. "1a2dacd753af5d74fbc845916fac6f804154ec40" and "25837dfd6267a8c9498021821d53d7068ffda8e0" have entirely different histories.
1a2dacd753
...
25837dfd62
@ -61,7 +61,6 @@ in
|
|||||||
|
|
||||||
services.nginx.virtualHosts."${gitlab_host}" = {
|
services.nginx.virtualHosts."${gitlab_host}" = {
|
||||||
locations."/".proxyPass = "http://127.0.0.1:8080";
|
locations."/".proxyPass = "http://127.0.0.1:8080";
|
||||||
serverAliases = [ "gitlab.${fqdn}" ];
|
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
};
|
};
|
||||||
|
@ -72,6 +72,7 @@ in {
|
|||||||
nginx.virtualHosts."${gitea_host}" = {
|
nginx.virtualHosts."${gitea_host}" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
serverAliases = [ "gitlab.${fqdn}" ];
|
||||||
locations."/".proxyPass =
|
locations."/".proxyPass =
|
||||||
"http://${config.services.gitea.settings.server.HTTP_ADDR}:${
|
"http://${config.services.gitea.settings.server.HTTP_ADDR}:${
|
||||||
builtins.toString config.services.gitea.settings.server.HTTP_PORT
|
builtins.toString config.services.gitea.settings.server.HTTP_PORT
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ pkgs, user, config, ... }: {
|
{ pkgs, user, config, ... }:
|
||||||
|
{
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
users.users = {
|
users.users = {
|
||||||
root.hashedPasswordFile = config.age.secrets.users-root-pw.path;
|
root.hashedPasswordFile = config.age.secrets.users-root-pw.path;
|
||||||
@ -12,8 +13,4 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.persistence.ephemeral.users = {
|
|
||||||
price = { files = [ ".bash_history" ]; };
|
|
||||||
root = { home = "/root"; files = [ ".bash_history" ]; };
|
|
||||||
};
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user