Compare commits

..

No commits in common. "a38d6f9846334bbf8982315a795714a6562ead1a" and "45359315e52b84ab4bb77f5d6ca17d6ecd59f597" have entirely different histories.

5 changed files with 4 additions and 17 deletions

View file

@ -36,16 +36,11 @@
name = "miniflux"; name = "miniflux";
ensurePermissions."DATABASE miniflux" = "ALL PRIVILEGES"; ensurePermissions."DATABASE miniflux" = "ALL PRIVILEGES";
} }
{
name = "grafana";
ensurePermissions."DATABASE grafana" = "ALL PRIVILEGES";
}
]; ];
ensureDatabases = [ ensureDatabases = [
"forgejo" "forgejo"
"hedgedoc" "hedgedoc"
"miniflux" "miniflux"
"grafana"
]; ];
}; };
} }

View file

@ -1,8 +1,8 @@
{config, ...}: { {config, ...}: {
sops.secrets.attic-secret = {}; sops.secrets.attic-jwt-secret = {};
services.atticd = { services.atticd = {
enable = true; enable = true;
credentialsFile = config.sops.secrets.attic-secret.path; credentialsFile = config.sops.secrets.attic-jwt-secret.path;
settings = { settings = {
listen = "[::]:8100"; listen = "[::]:8100";
allowed-hosts = ["cache.notohh.dev"]; allowed-hosts = ["cache.notohh.dev"];

View file

@ -7,9 +7,8 @@
./jellyfin.nix ./jellyfin.nix
./rustypaste.nix ./rustypaste.nix
./woodpecker.nix ./woodpecker.nix
./atticd.nix
./hedgedoc.nix ./hedgedoc.nix
./dashdot.nix ./dashdot.nix
./grafana.nix
./prometheus.nix
]; ];
} }

View file

@ -4,6 +4,7 @@
lib, lib,
... ...
}: { }: {
sops.secrets.forgejo-db = {};
services.gitea = { services.gitea = {
enable = true; enable = true;
package = pkgs.forgejo; package = pkgs.forgejo;

View file

@ -17,14 +17,6 @@ _: {
auto_assign_org = true; auto_assign_org = true;
auto_assign_org_role = "Viewer"; auto_assign_org_role = "Viewer";
}; };
database = {
type = "postgres";
host = "192.168.1.211:5432";
name = "grafana";
user = "grafana";
password = "grafana";
ssl_mode = "disable";
};
}; };
provision = { provision = {
datasources.settings = { datasources.settings = {