Regenerated
This commit is contained in:
+14
-15
@@ -271,23 +271,22 @@ in
|
||||
{ pkgs, config, lib, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
grubThemeSrc = "${flakeRoot}/assets/system/theming/boot";
|
||||
grubThemeDir = "/boot/grub/themes/catppuccin-mocha";
|
||||
in
|
||||
{
|
||||
############################
|
||||
# Bootloader (GRUB)
|
||||
############################
|
||||
boot.loader = {
|
||||
timeout = 5;
|
||||
|
||||
grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
devices = [ "nodev" ];
|
||||
devices = [ "nodev" ]; # pas aan naar je echte EFI-device indien nodig
|
||||
useOSProber = true;
|
||||
timeout = 5;
|
||||
|
||||
# Declarative theme
|
||||
theme = "/boot/grub/themes/catppuccin-mocha/theme.txt";
|
||||
# Declaratieve theme
|
||||
theme = "${grubThemeDir}/theme.txt";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -298,7 +297,7 @@ in
|
||||
|
||||
boot.kernelParams = [
|
||||
"quiet"
|
||||
"splash" # REQUIRED for plymouth
|
||||
"splash" # REQUIRED voor Plymouth
|
||||
"udev.log_level=3"
|
||||
"rd.systemd.show_status=false"
|
||||
];
|
||||
@@ -307,7 +306,7 @@ in
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
|
||||
############################
|
||||
# Plymouth splashscreen
|
||||
# Plymouth
|
||||
############################
|
||||
boot.plymouth = {
|
||||
enable = true;
|
||||
@@ -320,19 +319,19 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
# Ensure plymouth starts early in initrd
|
||||
boot.initrd.systemd.enable = true;
|
||||
|
||||
############################
|
||||
# Copy GRUB theme files declaratively
|
||||
# GRUB theme declaratief via environment.etc
|
||||
############################
|
||||
environment.etc = {
|
||||
"grub/themes/catppuccin-mocha/theme.txt".source = "${grubThemeSrc}/theme.txt";
|
||||
"grub/themes/catppuccin-mocha/background.png".source = "${grubThemeSrc}/background.png";
|
||||
};
|
||||
environment.etc."grub/themes/catppuccin-mocha/theme.txt".source =
|
||||
"${flakeRoot}/assets/system/theming/boot/theme.txt";
|
||||
|
||||
environment.etc."grub/themes/catppuccin-mocha/background.png".source =
|
||||
"${flakeRoot}/assets/system/theming/boot/background.png";
|
||||
|
||||
############################
|
||||
# Avoid warnings
|
||||
# System state
|
||||
############################
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user