From 89910908fd3191e55c07dd372a6bb11e710f0d2b Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 29 Dec 2024 13:39:30 +0200 Subject: [PATCH] Removed manual building and used existing actual-server package --- nixosModules/actual-budget.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/nixosModules/actual-budget.nix b/nixosModules/actual-budget.nix index 9e3629c..906fdec 100644 --- a/nixosModules/actual-budget.nix +++ b/nixosModules/actual-budget.nix @@ -17,9 +17,7 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7P9K9D5RkBk+JCRRS6AtHuTAc6cRpXfRfRMg/Kyren" ]; packages = with pkgs; [ - nodejs_22 - yarn - gitMinimal + actual-server ]; }; @@ -39,13 +37,10 @@ forceSSL = true; locations."/".proxyPass = "http://localhost:5006/"; - # locations."/".extraConfig = '' - # include /config/nginx/proxy.conf; - # include /config/nginx/resolver.conf; - # - # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - # proxy_set_header Host $host; - # ''; + locations."/".extraConfig = '' + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $host; + ''; }; };