From b1b53ceef360d2ed51ee2c0c8e83c1b66f540d52 Mon Sep 17 00:00:00 2001 From: joygnu Date: Mon, 5 Aug 2024 19:42:24 +0200 Subject: [PATCH] update --- hosts/desktop/default.nix | 10 ++++------ hosts/laptop/default.nix | 13 ++++++++++--- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index e615507..b4eb46e 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -6,16 +6,14 @@ networking.networkmanager.enable = true; boot.loader = { - timeout = 0; - efi = { - canTouchEfiVariables = false; - }; - grub = { + timeout = 0; + efi.canTouchEfiVariables = false; + grub = { efiSupport = true; efiInstallAsRemovable = true; device = "nodev"; }; - }; + }; imports = [ ../../modules diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index a6f17c6..cdd1bc2 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -2,10 +2,17 @@ { networking.hostName = "laptop"; networking.networkmanager.enable = true; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - boot.loader.timeout = 5; + boot.loader = { + timeout = 0; + efi.canTouchEfiVariables = false; + grub = { + efiSupport = true; + efiInstallAsRemovable = true; + device = "nodev"; + }; + }; + imports = [ ../../modules ./hardware.nix