Updated nix flake and ported over existing config

This commit is contained in:
Random936
2026-09-07 12:55:48 -04:00
parent c618246ac9
commit 3917792670
6 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
host = "0.0.0.0";
openFirewall = true;
# Make sure this path is created and has the permissions of ollama:ollama.
models = "/mnt/storage/models";
modelsDir = "/mnt/storage/models";
environmentVariables = {
OLLAMA_CONTEXT_LENGTH = "8192";
};
+3
View File
@@ -25,6 +25,9 @@
http_port = 3000;
domain = "grafana.randomctf.lan";
};
# Legacy default secret key, kept so existing datasource secrets
# in the database remain decryptable.
settings.security.secret_key = "SW2YcwTIb9zpOOhoPsMm";
};
services.nginx = {
+2 -2
View File
@@ -57,7 +57,7 @@
# System Packages
environment.systemPackages = with pkgs; [
pinentry-gtk2
pinentry-gnome3
protonmail-bridge
pass
@@ -78,7 +78,7 @@
path = with pkgs; [
pass
gnupg
pinentry-gtk2
pinentry-gnome3
];
serviceConfig = {
Restart = "always";
+1 -1
View File
@@ -56,7 +56,7 @@
# Setup Pinentry
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gtk2;
pinentryPackage = pkgs.pinentry-gnome3;
enableSSHSupport = true;
};