feat: remove minecraft and add grafana secret

This commit is contained in:
Jet Pham 2026-02-18 19:09:21 -08:00
parent ce89f2fcda
commit cc2036d95e
No known key found for this signature in database
10 changed files with 21 additions and 106 deletions

View file

@ -0,0 +1,33 @@
{ lib, ... }:
with lib;
{
options.mySecrets = {
forgejoDb = mkOption {
type = types.str;
description = "Forgejo Database Password";
};
stalwartAdmin = mkOption {
type = types.str;
description = "Stalwart Mail Admin Password";
};
searxKey = mkOption {
type = types.str;
description = "Searx Secret Key";
};
tailscaleKey = mkOption {
type = types.str;
description = "Tailscale Auth Key";
};
sshPublicKey = mkOption {
type = types.str;
description = "SSH Public Key for Root User";
};
grafanaSecret = mkOption {
type = types.str;
description = "Grafana Secret Key for security";
};
};
}

View file

@ -0,0 +1,13 @@
{ pkgs, config, lib, ... }:
{
# Copy this file to secrets.nix and fill in real values
mySecrets = {
forgejoDb = "changeme_forgejo_db";
stalwartAdmin = "changeme_stalwart_admin";
searxKey = "changeme_searx_secret";
minecraftRcon = "changeme_rcon";
tailscaleKey = "tskey-auth-PLACEHOLDER";
sshPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA...";
};
}