Update Traefik configuration to use GRUB bootloader and disable EFI options - dammit NixOS and Proxmox
This commit is contained in:
parent
c76efbb673
commit
a0e3c71760
1 changed files with 6 additions and 3 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue