From ad18b53b0186473405ef2ac6713e7e5af4c38564 Mon Sep 17 00:00:00 2001 From: macronova Date: Sat, 15 Jun 2024 21:00:23 -0700 Subject: [PATCH] Disable Grub for all headless devices --- linux/blitzar/configuration.nix | 1 - linux/comet/configuration.nix | 13 ++----------- linux/nebula/configuration.nix | 13 ++----------- linux/protostar/configuration.nix | 1 - 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/linux/blitzar/configuration.nix b/linux/blitzar/configuration.nix index 9b5b095..9e36f26 100644 --- a/linux/blitzar/configuration.nix +++ b/linux/blitzar/configuration.nix @@ -17,7 +17,6 @@ splashImage = "${yorha}/background.png"; theme = yorha; }; - timeout = 3; }; plymouth = { enable = true; diff --git a/linux/comet/configuration.nix b/linux/comet/configuration.nix index 862457c..e381964 100644 --- a/linux/comet/configuration.nix +++ b/linux/comet/configuration.nix @@ -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; }; # Change secrets file @@ -38,5 +30,4 @@ # 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? - } diff --git a/linux/nebula/configuration.nix b/linux/nebula/configuration.nix index 65543c2..dd19774 100644 --- a/linux/nebula/configuration.nix +++ b/linux/nebula/configuration.nix @@ -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? - } diff --git a/linux/protostar/configuration.nix b/linux/protostar/configuration.nix index edd73ae..b6aed62 100644 --- a/linux/protostar/configuration.nix +++ b/linux/protostar/configuration.nix @@ -9,7 +9,6 @@ boot.loader = { efi.canTouchEfiVariables = true; systemd-boot.enable = true; - timeout = 0; }; # Change secrets file