Compare commits
2 Commits
25837dfd62
...
1a2dacd753
Author | SHA1 | Date | |
---|---|---|---|
1a2dacd753 | |||
e376c058d6 |
@ -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;
|
||||
};
|
||||
|
@ -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
|
||||
|
@ -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" ]; };
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user