peach: make boot logos seamless
This commit is contained in:
parent
7e6a77501c
commit
166cb87306
5 changed files with 123 additions and 17 deletions
BIN
system/hosts/peach/apple-rainbow.png
Normal file
BIN
system/hosts/peach/apple-rainbow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5 KiB |
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue