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