From 34ccc7d536aa79df5d3156aceb9995c711ce0abd Mon Sep 17 00:00:00 2001 From: sadan <117494111+sadan4@users.noreply.github.com> Date: Sat, 8 Feb 2025 18:25:57 -0500 Subject: [PATCH] update grub --- common/systemModules/boot.nix | 2 ++ common/systemModules/networkManager.nix | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/common/systemModules/boot.nix b/common/systemModules/boot.nix index e4801fd..8c0aac8 100644 --- a/common/systemModules/boot.nix +++ b/common/systemModules/boot.nix @@ -1,12 +1,14 @@ { pkgs, ... }: { boot = { loader = { + timeout = 0; grub = { enable = true; device = "nodev"; efiSupport = true; useOSProber = true; efiInstallAsRemovable = true; + timeoutStyle = "hidden"; }; }; }; diff --git a/common/systemModules/networkManager.nix b/common/systemModules/networkManager.nix index c3597e4..a51fad4 100644 --- a/common/systemModules/networkManager.nix +++ b/common/systemModules/networkManager.nix @@ -1,4 +1,6 @@ -{ NAME }: { ... }: { +{ NAME }: +{ ... }: +{ users = { users = { "${NAME}" = { @@ -8,10 +10,20 @@ }; }; }; + systemd = { + network = { + wait-online = { + enable = false; + }; + }; + }; networking = { networkmanager = { enable = true; }; - nameservers = [ "1.1.1.1" "1.0.0.1" ]; + nameservers = [ + "1.1.1.1" + "1.0.0.1" + ]; }; }