diff --git a/nix-system-configs/traefik/traefik-config.nix b/nix-system-configs/traefik/traefik-config.nix index be79541..9eb28b2 100644 --- a/nix-system-configs/traefik/traefik-config.nix +++ b/nix-system-configs/traefik/traefik-config.nix @@ -29,9 +29,12 @@ in { (import "${home-manager}/nixos") ]; - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + # Bootloader - The given default one by NixOS is not to be trusted.... + boot.loader.grub.enable = true; + boot.loader.grub.version = 2; + boot.loader.grub.device = "/dev/sda"; + # Disable EFI bootloader options if present: + boot.loader.efi.enable = false; networking.hostName = "nixos-traefik"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.