1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Fix deprecation warnings

This commit is contained in:
RGBCube 2024-01-16 12:16:40 +03:00
parent 45d654d6df
commit afa708fa8d
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View file

@ -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";

View file

@ -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.http_addr = "::";
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;
};
};