diff --git a/nixos/hosts/nixos-vm-01/default.nix b/nixos/hosts/nixos-vm-01/default.nix index 7d1f1173..eff174a5 100644 --- a/nixos/hosts/nixos-vm-01/default.nix +++ b/nixos/hosts/nixos-vm-01/default.nix @@ -15,8 +15,10 @@ networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; virtualisation.virtualbox.guest.enable = true; - # Set your time zone. time.timeZone = "Asia/Tokyo"; - # Set the networking hostname: networking.hostName = "nixos-vm-01"; + + boot.loader.enable = true; + boot.loader.grub.device = '/dev/sda'; + boot.loader.grub.useOSProber = true; }