Regenerated
This commit is contained in:
+9
-13
@@ -270,14 +270,12 @@ in {
|
||||
{ pkgs, config, lib, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
# Paths for theming
|
||||
grubThemeDir = "/boot/grub/themes/catppuccin-mocha";
|
||||
grubThemeFile = "${grubThemeDir}/theme.txt";
|
||||
plymouthThemeDir = "/usr/share/plymouth/themes/catppuccin";
|
||||
in
|
||||
{
|
||||
boot = {
|
||||
# Kernel and initrd settings
|
||||
initrd = {
|
||||
verbose = false;
|
||||
kernelModules = [];
|
||||
@@ -289,18 +287,17 @@ in
|
||||
|
||||
supportedFilesystems = [ "ntfs" ];
|
||||
|
||||
# GRUB loader
|
||||
loader = {
|
||||
grub = {
|
||||
enable = true;
|
||||
devices = [ "/dev/nvme0n1" ]; # <- replace with your real boot disk
|
||||
useOSProber = true;
|
||||
theme = grubThemeFile; # point GRUB to our theme
|
||||
};
|
||||
timeout = 5;
|
||||
loader.grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
devices = [ "nodev" ]; # UEFI: no physical disk
|
||||
useOSProber = true;
|
||||
theme = grubThemeFile;
|
||||
};
|
||||
|
||||
# Plymouth splashscreen
|
||||
boot.efi.canTouchEfiVariables = true;
|
||||
loader.timeout = 5;
|
||||
|
||||
plymouth = {
|
||||
enable = true;
|
||||
theme = "rings";
|
||||
@@ -312,7 +309,6 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
# Activation script: write Catppuccin GRUB theme
|
||||
system.activationScripts.grubTheme = {
|
||||
text = ''
|
||||
mkdir -p ${grubThemeDir}
|
||||
|
||||
Reference in New Issue
Block a user