system: Grub
This commit is contained in:
parent
6695c512ea
commit
d125b3407c
@ -2,6 +2,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./secrets/secrets.nix
|
||||
./modules/grub.nix
|
||||
../../packages.nix
|
||||
../../modules/bundle.nix
|
||||
../../modules/gamemode.nix
|
||||
|
13
nixos/hosts/Eclipse/modules/grub.nix
Normal file
13
nixos/hosts/Eclipse/modules/grub.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -2,6 +2,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./secrets/secrets.nix
|
||||
./modules/grub.nix
|
||||
../../packages.nix
|
||||
../../modules/bundle.nix
|
||||
../../modules/adb.nix
|
||||
|
13
nixos/hosts/Rias/modules/grub.nix
Normal file
13
nixos/hosts/Rias/modules/grub.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -2,21 +2,29 @@
|
||||
boot = {
|
||||
loader = {
|
||||
timeout = 3;
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
# systemd-boot.enable = true;
|
||||
efi.efiSysMountPoint = "/boot";
|
||||
|
||||
grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
device = "nodev";
|
||||
};
|
||||
initrd = {
|
||||
verbose = false;
|
||||
# systemd.enable = true;
|
||||
# efi.canTouchEfiVariables = true;
|
||||
};
|
||||
# initrd = {
|
||||
# verbose = false;
|
||||
# # systemd.enable = true;
|
||||
# };
|
||||
consoleLogLevel = 0;
|
||||
kernelParams = [
|
||||
"quiet"
|
||||
# "quiet"
|
||||
"splash"
|
||||
"boot.shell_on_fail"
|
||||
"loglevel=3"
|
||||
"rd.systemd.show_status=false"
|
||||
"rd.udev.log_level=3"
|
||||
# "rd.systemd.show_status=false"
|
||||
# "rd.udev.log_level=3"
|
||||
"udev.log_priority=0"
|
||||
];
|
||||
plymouth = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user