From e5f42a7f2c8bbfa4b02f6423400d1d9690727ec5 Mon Sep 17 00:00:00 2001 From: joy 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