Update dependencies

This commit is contained in:
Charlotte Van Petegem 2022-10-24 14:07:25 +02:00
parent 4cfd397ff6
commit 251a337b48
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 53 additions and 50 deletions

36
flake.lock generated
View file

@ -19,11 +19,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1666551704, "lastModified": 1666602948,
"narHash": "sha256-kDpQ/3UPcGiwLm0iHKIsNUg1vUbX1Dmckw8epNzrJ6I=", "narHash": "sha256-jseWvGHTndXXY1e4VUE1zwDfvA8eCLfKaFaelLvQd90=",
"owner": "accentor", "owner": "accentor",
"repo": "flake", "repo": "flake",
"rev": "cf4e1e157a6a944cfc5ea145f492c747e828390c", "rev": "3868ce3a30ec770356f49dc284f229ed32480bae",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -45,11 +45,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1666551426, "lastModified": 1666602435,
"narHash": "sha256-OzExIoT933gYHp8hhJfF6ox0VkdxUvtKh+m0sHaGggM=", "narHash": "sha256-UF6o9hAIP7EaeUvCnayHcT1jzLQLhziVJ881HjRq118=",
"owner": "accentor", "owner": "accentor",
"repo": "api", "repo": "api",
"rev": "513d0be923f928642b9d684e001dda61af142b34", "rev": "49508557b311f06dea6727c41f24e94264226717",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -71,11 +71,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1666551504, "lastModified": 1666609530,
"narHash": "sha256-bk80u+41kLRCd25TeasBR/W+zmUS3PF5oADzq5ZAtd8=", "narHash": "sha256-7Z5EKvBrRGMyTfsmSxzRK+t1YXOQRog4BzIto81ZYhs=",
"owner": "accentor", "owner": "accentor",
"repo": "web", "repo": "web",
"rev": "940d57432956bc471644d59cf92b4eadb469e0fc", "rev": "7948b4736beea473cbdf0d9dc9b5c11e3279a1b3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -231,11 +231,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1666447894, "lastModified": 1666539104,
"narHash": "sha256-i9WHX4w/et4qPMzEXd9POmnO0/bthjr7R4cblKNHGms=", "narHash": "sha256-jeuC+d375wHHxMOFLgu7etseCQVJuPNKoEc9X9CsErg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "95aeaf83c247b8f5aa561684317ecd860476fcd6", "rev": "0e6df35f39651504249a05191f9a78d251707e22",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -262,11 +262,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1666589536, "lastModified": 1666610836,
"narHash": "sha256-SwakR8kmsGrcKGrGhVMyMno5Ga9btsxXW081NahpGQk=", "narHash": "sha256-iOPM5el6i2eCkNcDYtto1gLt8ZtipxLSf8tN0bQahAM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "4a421a1d3b0048e773550dd58d26d9ec536d4c97", "rev": "f42d15c6bc1692851a8b4a491e2c9818f93341d3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -305,11 +305,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1666588055, "lastModified": 1666602217,
"narHash": "sha256-LfkadTnoVXUnLzkXJdyFP4/H7cKIKtWp16NeClJLmEI=", "narHash": "sha256-RnfBCyqb+pVsDxlUQp9zEhVGvCWv1iEq9/mWInbvLOg=",
"owner": "chvp", "owner": "chvp",
"repo": "tetris", "repo": "tetris",
"rev": "f2dc6254497282323eb38fad5a5e904fc2462db1", "rev": "3186baf6ebe5db992fef18686d5f8ac06c58736c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -28,39 +28,42 @@
}; };
grafana = { grafana = {
enable = true; enable = true;
analytics.reporting.enable = false;
port = 3000;
domain = "stats.chvp.be";
rootUrl = "https://stats.chvp.be/";
dataDir = "${config.chvp.dataPrefix}/var/lib/grafana"; dataDir = "${config.chvp.dataPrefix}/var/lib/grafana";
protocol = "socket"; settings = {
auth.anonymous = { analytics.reporting_enabled = false;
enable = true; "auth.anonymous" = {
enabled = "true";
org_name = "Van Petegem"; org_name = "Van Petegem";
}; };
smtp = {
enable = true;
host = "mail.vanpetegem.me:25";
user = "noreply@vanpetegem.me";
fromAddress = "noreply@vanpetegem.me";
passwordFile = config.age.secrets."passwords/services/grafana/smtp".path;
};
database = { database = {
user = "grafana"; user = "grafana";
type = "postgres"; type = "postgres";
host = "/run/postgresql/"; host = "/run/postgresql/";
name = "grafana"; name = "grafana";
}; };
users = {
allowSignUp = false;
};
security = { security = {
adminUser = "chvp"; admin_user = "chvp";
adminPasswordFile = config.age.secrets."passwords/services/grafana/admin-password".path; admin_password = "$__file{${config.age.secrets."passwords/services/grafana/admin-password".path}}";
secretKeyFile = config.age.secrets."passwords/services/grafana/secret-key".path; secret_key = "$__file{${config.age.secrets."passwords/services/grafana/secret-key".path}}";
};
server = {
domain = "stats.chvp.be";
http_port = 3000;
protocol = "socket";
root_url = "https://stats.chvp.be";
socket = "/run/grafana/grafana.sock";
};
smtp = {
enabled = true;
host = "mail.vanpetegem.me:25";
user = "noreply@vanpetegem.me";
from_address = "noreply@vanpetegem.me";
password = "$__file{${config.age.secrets."passwords/services/grafana/smtp".path}}";
};
users = {
default_theme = "light";
allow_sign_up = false;
}; };
extraOptions = {
USERS_DEFAULT_THEME = "light";
}; };
}; };
grafana-image-renderer = { grafana-image-renderer = {