This commit is contained in:
2026-09-09 09:08:13 +02:00
parent 3e98a56607
commit 3f50049e17
3 changed files with 33 additions and 7 deletions
+11
View File
@@ -25,6 +25,17 @@ let
tftpRoot = "/var/lib/tftpboot";
in
{
imports = [
# Généré sur le serveur réel via `nixos-generate-config`, jamais
# committé (voir .gitignore) — spécifique à cette machine.
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Si le serveur est en BIOS legacy (pas UEFI), remplacer les deux lignes
# au-dessus par boot.loader.grub.device = "/dev/sdX";
networking.hostName = "pxe-server";
networking.firewall.allowedUDPPorts = [
67