From 4412e1c5050a83ba071234e76dc28f588ab818e9 Mon Sep 17 00:00:00 2001 From: harry123 Date: Sat, 24 May 2025 12:45:07 +0200 Subject: [PATCH 1/2] bumped nixpkgs to latest stable version --- flake.nix | 4 ++-- hosts/sisyphe/features/services/akkoma.nix | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 392edd1..63fb32e 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,8 @@ description = "the silliest NixOS config!"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; - nixpkgsSmall.url = "github:NixOS/nixpkgs/nixos-24.11-small"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; + nixpkgsSmall.url = "github:NixOS/nixpkgs/nixos-25.05-small"; nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable"; sops-nix.url = "github:Mic92/sops-nix"; diff --git a/hosts/sisyphe/features/services/akkoma.nix b/hosts/sisyphe/features/services/akkoma.nix index 3782574..5e45a77 100644 --- a/hosts/sisyphe/features/services/akkoma.nix +++ b/hosts/sisyphe/features/services/akkoma.nix @@ -1,5 +1,6 @@ { services.akkoma.enable = true; + services.akkoma.initDb.enable = true; services.akkoma.config = { ":pleroma" = { ":instance" = { @@ -11,7 +12,28 @@ "Pleroma.Upload".base_url = "https://blurb.rougebordeaux.xyz"; "Pleroma.Web.Endpoint" = { url.host = "eepy.rougebordeaux.xyz"; + http.port = 4004; }; }; }; + + services.caddy.virtualHosts."http://blurb.rougebordeaux.xyz".extraConfig = '' + log { + output file /var/log/caddy/akkoma-blurb.log + } + + encode gzip + + reverse_proxy :4004 + ''; + + services.caddy.virtualHosts."http://eepy.rougebordeaux.xyz".extraConfig = '' + log { + output file /var/log/caddy/akkoma.log + } + + encode gzip + + reverse_proxy :4004 + ''; } From 78889765f1415644fa919a6304e9989b5cc40110 Mon Sep 17 00:00:00 2001 From: harry123 Date: Sat, 24 May 2025 12:52:18 +0200 Subject: [PATCH 2/2] bumped nodejs dependency --- hosts/sisyphe/features/services/archivebox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/sisyphe/features/services/archivebox.nix b/hosts/sisyphe/features/services/archivebox.nix index fe00ce1..b114229 100644 --- a/hosts/sisyphe/features/services/archivebox.nix +++ b/hosts/sisyphe/features/services/archivebox.nix @@ -2,7 +2,7 @@ { environment.systemPackages = with pkgs; [ archivebox - nodejs_23 + nodejs_24 ]; services.caddy.virtualHosts."archive.rougebordeaux.xyz".extraConfig = ''