Regenerated

This commit is contained in:
2026-03-24 11:06:43 +00:00
parent 6545db6716
commit 55c4b589e9
21 changed files with 4 additions and 823 deletions
+4 -11
View File
@@ -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;
};