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"; host = "0.0.0.0";
openFirewall = true; openFirewall = true;
# Make sure this path is created and has the permissions of ollama:ollama. # Make sure this path is created and has the permissions of ollama:ollama.
models = "/mnt/storage/models"; modelsDir = "/mnt/storage/models";
environmentVariables = { environmentVariables = {
OLLAMA_CONTEXT_LENGTH = "8192"; OLLAMA_CONTEXT_LENGTH = "8192";
}; };
+3
View File
@@ -25,6 +25,9 @@
http_port = 3000; http_port = 3000;
domain = "grafana.randomctf.lan"; 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 = { services.nginx = {
+2 -2
View File
@@ -57,7 +57,7 @@
# System Packages # System Packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
pinentry-gtk2 pinentry-gnome3
protonmail-bridge protonmail-bridge
pass pass
@@ -78,7 +78,7 @@
path = with pkgs; [ path = with pkgs; [
pass pass
gnupg gnupg
pinentry-gtk2 pinentry-gnome3
]; ];
serviceConfig = { serviceConfig = {
Restart = "always"; Restart = "always";
+1 -1
View File
@@ -56,7 +56,7 @@
# Setup Pinentry # Setup Pinentry
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
pinentryPackage = pkgs.pinentry-gtk2; pinentryPackage = pkgs.pinentry-gnome3;
enableSSHSupport = true; enableSSHSupport = true;
}; };
Generated
+15 -15
View File
@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1785119570, "lastModified": 1788642154,
"narHash": "sha256-Rgs2xKnGLFWQscxUaXX07oyZeuMDOHEbqDOsgliLFGM=", "narHash": "sha256-sPpQFVaFTDqO/4vvCAhuAhqTgqN/ygu+9eJcs5eB0js=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d4fd24667c8cbef124bb70a20380cab75ec8474d", "rev": "fd0956c99c41ae3c13a73a638f1f7e963aebc4ab",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1786286733, "lastModified": 1788651960,
"narHash": "sha256-7dN93WKkEERgutPtTjK7SY3ZarO2LAU33A1+vKu+7cc=", "narHash": "sha256-v9wJd32eZ2bvhBzVOd7TIjLQd011P7nwOhjKtWlci5I=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "367f7ef80856d18438953d54dda235d42a46ba31", "rev": "2c0350c759688177331b8f5242311fae8877bdb3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -48,11 +48,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1786249295, "lastModified": 1788680125,
"narHash": "sha256-Y2mSr+HLKYoOsjiackgilxkHXe8gkJ3z4hFFekjQX3I=", "narHash": "sha256-amGSoDobwmp4CFvCn841ws2iuitus+HUJdD/gKgsrJA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "14d55b8069119e3b88da7aa2f6c97f86a2cd3cd6", "rev": "116ad1c2adb642405ef8916f6a94c8626f971344",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -63,11 +63,11 @@
}, },
"nix-unstable": { "nix-unstable": {
"locked": { "locked": {
"lastModified": 1786106723, "lastModified": 1788614874,
"narHash": "sha256-zDSUbpoeo/9ZmD2+wXnzxoo1+uhL8vxc0b8yuYMKYq0=", "narHash": "sha256-7QYjT2vHLuX9Z1pdxHXDKCbh1CR3D/2rywB9Tx0MPRg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f13ff45afd1bb73e640eaa08a7066dbed07e3238", "rev": "c043004d1c6985732bcc1cbc5a9c9aecbbb4e0f0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -79,11 +79,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1786313170, "lastModified": 1788797584,
"narHash": "sha256-9BG7OgUWdu0ONDO5X2q6+K4bsuBITkX/3W4nNJu1Ito=", "narHash": "sha256-APhAHYS9dgOtYJC0+fGKLhCPflfv96jYBVbz55TpGNw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fcb8fcd6bf2d0adecae5bd491afaaaf8311b758d", "rev": "b279e6203ee1bf865290fb789e804d83a1e81718",
"type": "github" "type": "github"
}, },
"original": { "original": {
+1 -1
View File
@@ -28,7 +28,7 @@
programs = { programs = {
emacs = { emacs = {
enable = true; enable = true;
package = pkgs.emacs30; package = pkgs.emacs;
extraPackages = epkgs: with epkgs; [ extraPackages = epkgs: with epkgs; [
mu4e mu4e
vterm vterm