update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user