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