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 + ''; } 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 = ''