mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Fix deprecation warnings
This commit is contained in:
parent
45d654d6df
commit
afa708fa8d
2 changed files with 8 additions and 8 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
||||
users.users.root.passwordFile = config.age.secrets."cube/password.hash.rgb".path;
|
||||
users.users.root.hashedPasswordFile = config.age.secrets."cube/password.hash.rgb".path;
|
||||
|
||||
users.users.rgb = normalUser {
|
||||
description = "RGB";
|
||||
|
|
|
@ -24,19 +24,19 @@ in serverSystemConfiguration {
|
|||
systemd.services.grafana.requires = [ "postgresql.service" ];
|
||||
|
||||
services.grafana = enabled {
|
||||
domain = fqdn;
|
||||
port = 8999;
|
||||
|
||||
analytics.reporting.enable = false;
|
||||
|
||||
provision = enabled {};
|
||||
|
||||
settings = {
|
||||
analytics.reporting_enabled = false;
|
||||
|
||||
database.host = "/run/postgresql";
|
||||
database.type = "postgres";
|
||||
database.user = "grafana";
|
||||
|
||||
server.domain = fqdn;
|
||||
server.http_addr = "::";
|
||||
server.port = 8999;
|
||||
|
||||
users.default_theme = "system";
|
||||
};
|
||||
|
||||
|
@ -69,7 +69,7 @@ in serverSystemConfiguration {
|
|||
useACMEHost = domain;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::]:${toString config.services.grafana.port}";
|
||||
proxyPass = "http://[::]:${toString config.services.grafana.settings.server.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue