peach: make boot logos seamless

This commit is contained in:
Sean Kovacs 2026-04-04 15:23:42 -04:00
commit 166cb87306
Signed by: sckova
GPG key ID: 00F325187C68651A
5 changed files with 123 additions and 17 deletions

View file

@ -22,22 +22,23 @@
plymouth.logo = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake-white.png";
loader = {
timeout = 3;
limine = {
enable = true;
maxGenerations = 10;
extraConfig = ''
timeout: 3
'';
style = {
wallpapers = [ ];
wallpaperStyle = "stretched";
backdrop = "#1e1e2e";
interface = {
branding = "kova's nixos!";
brandingColor = 5;
};
};
};
systemd-boot.enable = true;
# limine = {
# enable = true;
# maxGenerations = 10;
# extraConfig = ''
# timeout: 3
# '';
# style = {
# wallpapers = [ ];
# wallpaperStyle = "stretched";
# backdrop = "#1e1e2e";
# interface = {
# branding = "kova's nixos!";
# brandingColor = 5;
# };
# };
# };
};
kernelParams = [
"quiet"

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -2,6 +2,7 @@
config,
pkgs,
lib,
seamless-asahi-plymouth,
...
}:
let
@ -13,10 +14,42 @@ let
};
in
{
nixpkgs.overlays = [
(final: prev: {
uboot-asahi = prev.uboot-asahi.overrideAttrs (old: {
postConfigure = (old.postConfigure or "") + ''
cat >> .config <<'EOF'
# CONFIG_VIDEO_LOGO is not set
CONFIG_BOOTDELAY=0
CONFIG_SILENT_CONSOLE=y
CONFIG_PREBOOT="setenv silent 1"
EOF
# Regenerate the configuration with new flags
make olddefconfig
'';
});
})
];
boot = {
kernelParams = [ "appledrm.show_notch=1" ];
# thank you to u/douv:
# https://www.reddit.com/r/AsahiLinux/comments/1sb8cby/retro_boot_logo/
m1n1CustomLogo = "${asahi-artwork}/logos/png_256/AsahiLinux_logomark.png";
plymouth.logo = lib.mkForce "${asahi-artwork}/logos/png_64/AsahiLinux_logomark.png";
plymouth = {
enable = true;
theme = "seamless-asahi";
themePackages = [
(seamless-asahi-plymouth.packages.${pkgs.system}.default.override {
logo = "${asahi-artwork}/logos/png_64/AsahiLinux_logomark.png";
})
];
extraConfig = ''
DeviceScale=1
'';
};
};
programs.dconf.profiles.gdm.databases = [