Compare commits
No commits in common. "a38d6f9846334bbf8982315a795714a6562ead1a" and "45359315e52b84ab4bb77f5d6ca17d6ecd59f597" have entirely different histories.
a38d6f9846
...
45359315e5
5 changed files with 4 additions and 17 deletions
|
@ -36,16 +36,11 @@
|
|||
name = "miniflux";
|
||||
ensurePermissions."DATABASE miniflux" = "ALL PRIVILEGES";
|
||||
}
|
||||
{
|
||||
name = "grafana";
|
||||
ensurePermissions."DATABASE grafana" = "ALL PRIVILEGES";
|
||||
}
|
||||
];
|
||||
ensureDatabases = [
|
||||
"forgejo"
|
||||
"hedgedoc"
|
||||
"miniflux"
|
||||
"grafana"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{config, ...}: {
|
||||
sops.secrets.attic-secret = {};
|
||||
sops.secrets.attic-jwt-secret = {};
|
||||
services.atticd = {
|
||||
enable = true;
|
||||
credentialsFile = config.sops.secrets.attic-secret.path;
|
||||
credentialsFile = config.sops.secrets.attic-jwt-secret.path;
|
||||
settings = {
|
||||
listen = "[::]:8100";
|
||||
allowed-hosts = ["cache.notohh.dev"];
|
||||
|
|
|
@ -7,9 +7,8 @@
|
|||
./jellyfin.nix
|
||||
./rustypaste.nix
|
||||
./woodpecker.nix
|
||||
./atticd.nix
|
||||
./hedgedoc.nix
|
||||
./dashdot.nix
|
||||
./grafana.nix
|
||||
./prometheus.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
sops.secrets.forgejo-db = {};
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
package = pkgs.forgejo;
|
||||
|
|
|
@ -17,14 +17,6 @@ _: {
|
|||
auto_assign_org = true;
|
||||
auto_assign_org_role = "Viewer";
|
||||
};
|
||||
database = {
|
||||
type = "postgres";
|
||||
host = "192.168.1.211:5432";
|
||||
name = "grafana";
|
||||
user = "grafana";
|
||||
password = "grafana";
|
||||
ssl_mode = "disable";
|
||||
};
|
||||
};
|
||||
provision = {
|
||||
datasources.settings = {
|
||||
|
|
Loading…
Reference in a new issue