diff --git a/flake.lock b/flake.lock index efcde88..5c960c0 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1760084311, - "narHash": "sha256-YpNNtvA8v28Gd3/PHXCABuBWOzR0K8CyQPga13LxBH0=", + "lastModified": 1755511413, + "narHash": "sha256-cBBF+nwGrSroN6ZewHPFaSThyCvwBxSZMdYEH8DxDx8=", "owner": "catppuccin", "repo": "nix", - "rev": "fa3a9d5f80ebfe7f4974bc1939f558690cc56359", + "rev": "ca11a19d4e1d2ba5e6162f40cb71288551fd51dd", "type": "github" }, "original": { @@ -86,10 +86,7 @@ }, "flake-utils": { "inputs": { - "systems": [ - "nixpkgs-xr", - "systems" - ] + "systems": "systems" }, "locked": { "lastModified": 1731533236, @@ -134,11 +131,11 @@ ] }, "locked": { - "lastModified": 1760130406, - "narHash": "sha256-GKMwBaFRw/C1p1VtjDz4DyhyzjKUWyi1K50bh8lgA2E=", + "lastModified": 1755569926, + "narHash": "sha256-s7D28zPHlFWVZ7dDxm0L1o5+t423rMJUfgCMGUeyYSk=", "owner": "nix-community", "repo": "home-manager", - "rev": "d305eece827a3fe317a2d70138f53feccaf890a1", + "rev": "c613ac14f5600033bf84ae75c315d5ce24a0229b", "type": "github" }, "original": { @@ -177,11 +174,11 @@ "mobile-nixos": { "flake": false, "locked": { - "lastModified": 1759261417, - "narHash": "sha256-TjuoBb8+isL3KTdGgtYh90XPyeUMFbgNAOG9l23CB3A=", + "lastModified": 1754708713, + "narHash": "sha256-IzpB0REbJ10A8vZIXnrPoUXEHL4wq8xq2pAlwyiCNb4=", "owner": "nixos", "repo": "mobile-nixos", - "rev": "e6f6d527bf6abf94dd52fbba3143a720cef96431", + "rev": "b23f377ed5c458216591bd19c232cb45b2c3f365", "type": "github" }, "original": { @@ -192,11 +189,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1760106635, - "narHash": "sha256-2GoxVaKWTHBxRoeUYSjv0AfSOx4qw5CWSFz2b+VolKU=", + "lastModified": 1755330281, + "narHash": "sha256-aJHFJWP9AuI8jUGzI77LYcSlkA9wJnOIg4ZqftwNGXA=", "owner": "Nixos", "repo": "nixos-hardware", - "rev": "9ed85f8afebf2b7478f25db0a98d0e782c0ed903", + "rev": "3dac8a872557e0ca8c083cdcfc2f218d18e113b0", "type": "github" }, "original": { @@ -208,11 +205,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1759831965, - "narHash": "sha256-vgPm2xjOmKdZ0xKA6yLXPJpjOtQPHfaZDRtH+47XEBo=", + "lastModified": 1755027561, + "narHash": "sha256-IVft239Bc8p8Dtvf7UAACMG5P3ZV+3/aO28gXpGtMXI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9b6fb798541223bbb396d287d16f43520250518", + "rev": "005433b926e16227259a1843015b5b2b7f7d1fc3", "type": "github" }, "original": { @@ -259,15 +256,14 @@ "flake-compat": "flake-compat_2", "flake-utils": "flake-utils", "nixpkgs": "nixpkgs_3", - "systems": "systems", "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1760059371, - "narHash": "sha256-VoyVxOb3maiV8ybnaCd4Zalfqz4ashIrz2pfhK704mI=", + "lastModified": 1755566862, + "narHash": "sha256-x25ELwy7HytGyVfkJ360omF5+5k5JUAw5YeG5pVMTEc=", "owner": "nix-community", "repo": "nixpkgs-xr", - "rev": "6cb9cca13659e5d5c4e4a42d7f9cd7b9eecc730b", + "rev": "f2492718d5552951e85a89448647564ebcde7146", "type": "github" }, "original": { @@ -278,11 +274,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1760038930, - "narHash": "sha256-Oncbh0UmHjSlxO7ErQDM3KM0A5/Znfofj2BSzlHLeVw=", + "lastModified": 1755186698, + "narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0b4defa2584313f3b781240b29d61f6f9f7e0df3", + "rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c", "type": "github" }, "original": { @@ -294,11 +290,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1759831965, - "narHash": "sha256-vgPm2xjOmKdZ0xKA6yLXPJpjOtQPHfaZDRtH+47XEBo=", + "lastModified": 1755186698, + "narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c9b6fb798541223bbb396d287d16f43520250518", + "rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c", "type": "github" }, "original": { @@ -370,16 +366,16 @@ }, "systems": { "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "type": "github" }, "original": { "owner": "nix-systems", - "repo": "default-linux", + "repo": "default", "type": "github" } }, @@ -391,11 +387,11 @@ ] }, "locked": { - "lastModified": 1758728421, - "narHash": "sha256-ySNJ008muQAds2JemiyrWYbwbG+V7S5wg3ZVKGHSFu8=", + "lastModified": 1754847726, + "narHash": "sha256-2vX8QjO5lRsDbNYvN9hVHXLU6oMl+V/PsmIiJREG4rE=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "5eda4ee8121f97b218f7cc73f5172098d458f1d1", + "rev": "7d81f6fb2e19bf84f1c65135d1060d829fae2408", "type": "github" }, "original": { diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index b89fd80..745dadf 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -65,18 +65,6 @@ in { locations."/" = { proxyPass = "http://127.0.0.1:9008"; }; - locations."/metrics" = { - return = "404"; - }; - }; - "pics.stitchy.moe" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://[::1]:${toString config.services.immich.port}"; - proxyWebsockets = true; - recommendedProxySettings = true; - }; }; "syncv3.stitchy.moe" = { enableACME = true; @@ -85,79 +73,6 @@ in { proxyPass = "http://127.0.0.1:8009"; }; }; - "grafana.stitchy.moe" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://127.0.0.1:3000"; - }; - extraConfig = '' - allow 10.100.0.0/24; - allow 192.168.51.2; - allow 192.168.51.1; - deny all; - ''; - }; - }; - }; - - services = { - grafana = { - enable = true; - settings = { - analytics = { - feedback_links_enabled = false; - reporting_enabled = false; - }; - }; - }; - immich = { - enable = true; - port = 2283; - mediaLocation = "/opt/services/immich"; - }; - postgresql = { - dataDir = "/opt/services/postgresql/${config.services.postgresql.package.psqlSchema}"; - }; - prometheus = { - enable = true; - exporters = { - node = { - enable = true; - }; - unpoller = { - enable = true; - controllers = [{ - user = "flyingstitchman"; - pass = "/persist/unifi-pass.txt"; - verify_ssl = false; - url = "https://localhost:7443"; - save_dpi = true; - }]; - }; - }; - globalConfig.scrape_interval = "10s"; - scrapeConfigs = [{ - job_name = "node"; - static_configs = [{ - targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}"]; - }]; - } - { - job_name = "dendrite"; - static_configs = [{ - targets = [ "localhost:9008"]; - }]; - } - { - job_name = "unpoller"; - static_configs = [{ - targets = [ "localhost:9130"]; - }]; - } - ]; - }; - unpoller = { }; };