1
0
mirror of https://git.oat.zone/dark-firepit/dotfiles synced 2024-11-22 17:01:57 +01:00

nlw-api, grafana, other stuff

This commit is contained in:
Jill "oatmealine" Monoids 2024-02-23 12:47:14 +01:00
parent efc8872b55
commit 99d6d67129
2 changed files with 19 additions and 2 deletions

@ -16,6 +16,7 @@ in {
inputs.nix-minecraft.nixosModules.minecraft-servers
#inputs.watch-party.nixosModules.watch-party
inputs.cohost-blogger.nixosModules.cohost-blogger
inputs.nlw-api.nixosModules.nlw-api
inputs.vscode-server.nixosModules.default
];
@ -28,6 +29,8 @@ in {
];
};
services.logrotate.checkConfig = false;
users.groups.dotfiles = {};
users.groups.yugoslavia = {};
@ -35,7 +38,7 @@ in {
# aether??? is that... reference.../.??? aether https://www.curseforge.com/minecraft/mc-mods/aether mod Curseforge minecraft Forge Patreon Chat twitter code license Assets license All rights reserved categories Last Updated apr 17 2021 Game Version 1.12.2 aether
aether = {
conf = {
packages = with pkgs; [ bat duf broot helix nil ];
packages = with pkgs; [ bat duf broot helix nil packwiz ];
shell = pkgs.unstable.fish;
extraGroups = [ "wheel" "nix-users" "dotfiles" ];
initialHashedPassword = "!";
@ -65,6 +68,7 @@ in {
"oatmealine@void-defragmented"
"oatmealine@beppy-phone"
"oatmealine@boykisser"
"oatmealine@goop-drive"
];
};
@ -235,6 +239,7 @@ in {
extraRules = [
{ users = [ "aether" ]; noPass = false; persist = true; keepEnv = true; }
{ users = [ "oatmealine" ]; noPass = true; persist = false; keepEnv = true; }
{ users = [ "remote" ]; noPass = true; persist = false; keepEnv = true; }
];
};

@ -9,6 +9,12 @@ in {
domain = "blog.oat.zone";
port = 3500;
};
services.nlw-api = {
enable = true;
domain = "nlw.oat.zone";
apiKey = builtins.readFile /etc/sheets-api-key;
port = 1995;
};
modules = {
services = {
@ -38,7 +44,7 @@ in {
vaultwarden = {
enable = true;
domain = "vault.aether.gay";
domain = "vault.dark-firepit.cloud";
};
# not entirely necessary but makes it so that invalid domains and/or direct ip access aborts connection
@ -106,6 +112,12 @@ in {
matomo = {
enable = true;
};
metrics = {
enable = true;
domain = "grafana.dark-firepit.cloud";
port = 2342;
};
};
};