diff --git a/config/services/akkoma/default.nix b/config/services/akkoma/default.nix
index 2bec116..af03b23 100644
--- a/config/services/akkoma/default.nix
+++ b/config/services/akkoma/default.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }: {
+{ config, inputs, pkgs, ... }: {
sops.secrets."services/akkoma/mailerPassword" = {
sopsFile = ../../../secrets/services/akkoma.yaml;
};
@@ -35,10 +35,7 @@
Likes are now florps. The timeline goes sideways.
'';
- extraStatic."images/akkoma-wp.png" = pkgs.fetchurl {
- url = "https://kyouma.net/akkoma-wp.avif";
- hash = "sha256-p0slibhwLExsGUzCSZHIl6tNm28r4fB3iJsI6peRFRs=";
- };
+ extraStatic."images/sylvia-ritter-15012323.avif" = inputs.florp-branding.packages.${config.nixpkgs.hostPlatform.system}.wallpaper;
extraStatic."favicon.png" = let
rev = "697a8211b0f427a921e7935a35d14bb3e32d0a2c";
@@ -184,7 +181,7 @@
":frontend_configurations" = {
pleroma_fe = mkMap {
- background = "/images/akkoma-wp.png";
+ background = "/images/sylvia-ritter-15012323.avif";
collapseMessageWithSubject = true;
hideSiteFavicon = true;
streaming = true;
diff --git a/flake.lock b/flake.lock
index 1e7ad48..7be0950 100644
--- a/flake.lock
+++ b/flake.lock
@@ -430,6 +430,26 @@
"type": "github"
}
},
+ "florp-branding": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1730469723,
+ "narHash": "sha256-5U2aVAXbzd26f0r4+1fo0F4KTqY5h3z2fV0uDJ9YsMQ=",
+ "ref": "refs/heads/main",
+ "rev": "16f4a9c871b5417b9ed17e7666c1b266dd8de464",
+ "revCount": 1,
+ "type": "git",
+ "url": "https://woof.rip/florp/branding.git"
+ },
+ "original": {
+ "type": "git",
+ "url": "https://woof.rip/florp/branding.git"
+ }
+ },
"fromYaml": {
"flake": false,
"locked": {
@@ -996,6 +1016,7 @@
"dns": "dns",
"fernglas": "fernglas",
"flake-utils": "flake-utils",
+ "florp-branding": "florp-branding",
"home-manager": "home-manager",
"hydra": "hydra",
"kyouma-www": "kyouma-www",
diff --git a/flake.nix b/flake.nix
index 266eb9d..f92ed80 100644
--- a/flake.nix
+++ b/flake.nix
@@ -21,6 +21,10 @@
url = "github:wobcom/fernglas";
inputs.flake-utils.follows = "flake-utils";
};
+ florp-branding = {
+ url = "git+https://woof.rip/florp/branding.git";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
diff --git a/pkgs/akkoma-fe-domi/default.nix b/pkgs/akkoma-fe-domi/default.nix
index 83781a2..1ffd048 100644
--- a/pkgs/akkoma-fe-domi/default.nix
+++ b/pkgs/akkoma-fe-domi/default.nix
@@ -21,6 +21,8 @@ in {
inherit src offlineCache;
postPatch = ''
# Build scripts assume to be used within a Git repository checkout
+ substituteInPlace src/modules/instance.js \
+ --replace-fail "widenTimeline: true" 'widenTimeline: "50%"'
sed -E -i '/^let commitHash =/,/;$/clet commitHash = "${builtins.substring 0 7 src.rev}";' \
build/webpack.prod.conf.js
'';