Bootloader Plymouth added

This commit is contained in:
foglar 2025-02-18 17:45:00 +01:00
parent 21f01007ca
commit 2b423f44f5
8 changed files with 28 additions and 6 deletions

View File

Before

Width:  |  Height:  |  Size: 340 KiB

After

Width:  |  Height:  |  Size: 340 KiB

BIN
config/nerv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -27,6 +27,7 @@
boot.loader.systemd-boot.enable = true;
sys = {
audio.enable = true;
bootloader.plymouth.enable = false;
#bootloader.systemd-boot.enable = true;
desktop = {
plasma.enable = false;
@ -59,7 +60,7 @@
# Configured programs to enable
program = {
docker.enable = false;
podman.enable = true;
podman.enable = false;
steam.enable = false;
proxychains.enable = false;
tor.enable = false;

View File

@ -31,6 +31,7 @@
boot.loader.systemd-boot.enable = true;
sys = {
audio.enable = true;
bootloader.plymouth.enable = true;
#bootloader.systemd-boot.enable = true;
desktop = {
steamdeck.enable = true;

View File

@ -9,7 +9,7 @@
config = lib.mkIf config.program.fastfetch.enable {
home.file = {
".config/fastfetch/logo.png".source = ../../../../config/logo.png;
".config/fastfetch/logo.png".source = ../../../../config/asuka.png;
};
programs.fastfetch = {

View File

@ -1,12 +1,21 @@
{
lib,
config,
...
}: {
options = {
sys.bootloader.systemd-boot.enable = lib.mkEnableOption "Enable systemd-boot as the bootloader";
sys.bootloader.plymouth.enable = lib.mkEnableOption "Enable Plymouth as the bootloader animation";
};
config = lib.mkIf config.sys.bootloader.systemd-boot.enable {
boot.loader.systemd-boot.enable = true;
};
config = lib.mkMerge [
(lib.mkIf config.sys.bootloader.systemd-boot.enable {
boot.loader.systemd-boot.enable = true;
})
(lib.mkIf config.sys.bootloader.plymouth.enable {
boot.plymouth = {
enable = true;
};
})
];
}

View File

@ -77,6 +77,16 @@
name = "Noto Color Emoji";
};
};
targets = {
plymouth = {
logo =
if userSettings.theme == "evangelion-blood"
then ../../../config/nerv.png
else "";
logoAnimated = if "evangelion-blood" == userSettings.theme then false else true;
};
};
};
};
}

View File

@ -17,13 +17,14 @@
./settings/default-applications.nix
./settings/logind.nix
./settings/updates.nix
#./settings/bootloader.nix
./settings/bootloader.nix
./settings/user.nix
];
sys = {
audio.enable = lib.mkDefault true;
bootloader.plymouth.enable = lib.mkDefault true;
#bootloader.systemd-boot.enable = lib.mkDefault true;
desktop = {
plasma.enable =