grub: Add theme

This commit is contained in:
Sweetbread 2025-01-01 19:51:45 +03:00
parent 040923c626
commit 23a0e060ef
2 changed files with 14 additions and 0 deletions

View File

@ -2,6 +2,7 @@
imports = [
./hardware-configuration.nix
./secrets/secrets.nix
./modules/grub.nix
../../packages.nix
../../modules/bundle.nix
../../modules/adb.nix

View File

@ -0,0 +1,13 @@
{ pkgs, ... }: let
theme = pkgs.fetchFromGitHub {
owner = "Patato777";
repo = "dotfiles";
rev = "cc363921707807d7ad3e36b462f0df793a0fe18a";
hash = "sha256-fpXGFNrzbV6K9hoZRX4tGieTLzhpPeGm6wn8CF4OGow=";
};
in {
boot.loader.grub = {
gfxmodeEfi = "1920x1080";
theme = "${theme}/grub/themes/virtuaverse";
};
}