system: Grub

This commit is contained in:
2024-12-28 20:00:44 +03:00
parent 6695c512ea
commit d125b3407c
5 changed files with 45 additions and 9 deletions
+1
View File
@@ -2,6 +2,7 @@
imports = [
./hardware-configuration.nix
./secrets/secrets.nix
./modules/grub.nix
../../packages.nix
../../modules/bundle.nix
../../modules/gamemode.nix
+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ... }: let
theme = pkgs.fetchFromGitHub {
owner = "OliveThePuffin";
repo = "yorha-grub-theme";
rev = "4d9cd37baf56c4f5510cc4ff61be278f11077c81";
hash = "sha256-XVzYDwJM7Q9DvdF4ZOqayjiYpasUeMhAWWcXtnhJ0WQ=";
};
in {
boot.loader.grub = {
gfxmodeEfi = "1920x1080";
theme = "${theme}/yorha-1920x1080";
};
}
+1
View File
@@ -2,6 +2,7 @@
imports = [
./hardware-configuration.nix
./secrets/secrets.nix
./modules/grub.nix
../../packages.nix
../../modules/bundle.nix
../../modules/adb.nix
+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ... }: let
theme = pkgs.fetchFromGitHub {
owner = "OliveThePuffin";
repo = "yorha-grub-theme";
rev = "4d9cd37baf56c4f5510cc4ff61be278f11077c81";
hash = "sha256-XVzYDwJM7Q9DvdF4ZOqayjiYpasUeMhAWWcXtnhJ0WQ=";
};
in {
boot.loader.grub = {
gfxmodeEfi = "3440x1440";
theme = "${theme}/yorha-2560x1440";
};
}