Regenerated
This commit is contained in:
+4
-11
@@ -233,19 +233,13 @@ in
|
||||
let
|
||||
hostname = config.networking.hostName or "traveldroid";
|
||||
|
||||
# Build GRUB theme from your assets
|
||||
# GRUB theme derivation
|
||||
grubTheme = pkgs.stdenv.mkDerivation {
|
||||
name = "droidnix-grub-theme";
|
||||
|
||||
src = "${flakeRoot}/assets/traveldroid/theming/boot";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
|
||||
# GRUB expects this exact name
|
||||
cp theme.txt $out/theme.txt
|
||||
|
||||
# Assets
|
||||
cp background.png $out/
|
||||
'';
|
||||
};
|
||||
@@ -256,7 +250,7 @@ in
|
||||
#################################
|
||||
boot.loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
canTouchEfiVariables = false; # must be false if using efiInstallAsRemovable
|
||||
efiSysMountPoint = "/boot";
|
||||
};
|
||||
|
||||
@@ -264,13 +258,12 @@ in
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
#device = "nodev";
|
||||
devices = [ "nodev" ]; # for UEFI-only installation
|
||||
useOSProber = true;
|
||||
# Keep multiple generations (fixes menu issue)
|
||||
configurationLimit = 25;
|
||||
# Fully declarative theme
|
||||
theme = grubTheme;
|
||||
};
|
||||
|
||||
timeout = 5;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user