fix: drop using berkeley mono

This commit is contained in:
Barrett Ruth 2026-02-15 02:02:25 -05:00
parent d96b0b3bb7
commit bf66310c13
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -11,11 +11,8 @@ let
loginShell = pkgs.writeShellScript "login-shell" '' loginShell = pkgs.writeShellScript "login-shell" ''
exec $(getent passwd $(id -un) | cut -d: -f7) -l exec $(getent passwd $(id -un) | cut -d: -f7) -l
''; '';
grubTheme = pkgs.runCommand "grub-theme" { grubTheme = pkgs.runCommand "grub-theme" { } ''
nativeBuildInputs = [ pkgs.grub2 ];
} ''
mkdir -p $out mkdir -p $out
grub-mkfont -s 32 -o $out/font.pf2 ${../../fonts/berkeley-mono/BerkeleyMono-Regular.ttf}
cat > $out/theme.txt << 'EOF' cat > $out/theme.txt << 'EOF'
desktop-color: "#000000" desktop-color: "#000000"
@ -44,8 +41,6 @@ in
useOSProber = true; useOSProber = true;
configurationLimit = 2; configurationLimit = 2;
theme = grubTheme; theme = grubTheme;
font = ../../fonts/berkeley-mono/BerkeleyMono-Regular.ttf;
fontSize = 24;
}; };
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelParams = [ boot.kernelParams = [