From 39eaf6e74658f3f23a95c03aa311c65a877491f8 Mon Sep 17 00:00:00 2001 From: GiggleSquid Date: Sun, 14 Apr 2024 15:30:34 +0100 Subject: [PATCH] nixos/plymouth: add support for logo in catppuccin (two-step) theme --- nixos/modules/system/boot/plymouth.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix index 4fed6335f7421..c80797e74358a 100644 --- a/nixos/modules/system/boot/plymouth.nix +++ b/nixos/modules/system/boot/plymouth.nix @@ -35,6 +35,13 @@ let # See: https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/106 mkdir -p $out/share/plymouth/themes/spinfinity ln -s $logo $out/share/plymouth/themes/spinfinity/header-image.png + + # Logo for catppuccin (two-step) theme + for flavour in mocha macchiato latte frappe + do + mkdir -p $out/share/plymouth/themes/catppuccin-"$flavour" + ln -s $logo $out/share/plymouth/themes/catppuccin-"$flavour"/header-image.png + done ''; themesEnv = pkgs.buildEnv {