Disable Grub for all headless devices
This commit is contained in:
parent
fcbe6a3a66
commit
ad18b53b01
4 changed files with 4 additions and 24 deletions
|
|
@ -2,21 +2,13 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running `nixos-help`).
|
||||
|
||||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
|
||||
# Configure boot loader
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
grub = let yorha = pkgs.yorha-grub-theme; in {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
splashImage = "${yorha}/background.png";
|
||||
theme = yorha;
|
||||
};
|
||||
timeout = 3;
|
||||
systemd-boot.enable = true;
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
|
|
@ -29,6 +21,5 @@
|
|||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "24.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue