Update Traefik configuration to use GRUB bootloader and disable EFI options - dammit NixOS and Proxmox

This commit is contained in:
Root User 2026-02-06 15:06:45 +01:00
parent c76efbb673
commit a0e3c71760
Signed by: root
GPG key ID: 087F0A95E5766D72

View file

@ -29,9 +29,12 @@ in {
(import "${home-manager}/nixos") (import "${home-manager}/nixos")
]; ];
# Bootloader. # Bootloader - The given default one by NixOS is not to be trusted....
boot.loader.systemd-boot.enable = true; boot.loader.grub.enable = true;
boot.loader.efi.canTouchEfiVariables = 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.hostName = "nixos-traefik"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.