Compare commits
2 Commits
25837dfd62
...
1a2dacd753
Author | SHA1 | Date | |
---|---|---|---|
1a2dacd753 | |||
e376c058d6 |
@ -61,6 +61,7 @@ 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,7 +72,6 @@ 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,5 +1,4 @@
|
|||||||
{ 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;
|
||||||
@ -13,4 +12,8 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
environment.persistence.ephemeral.users = {
|
||||||
|
price = { files = [ ".bash_history" ]; };
|
||||||
|
root = { home = "/root"; files = [ ".bash_history" ]; };
|
||||||
|
};
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user