Introduced a comprehensive guide for adding machine-specific services in the DEPLOYMENT-GUIDE.md, including steps to configure WireGuard for specific machines. Added example configuration files for boot settings, machine-specific configurations, and an example service for WireGuard. This enhances the modularity and flexibility of the NixOS deployment process, allowing for tailored configurations per machine.
13 lines
390 B
Nix
13 lines
390 B
Nix
{
|
|
# Bootloader configuration
|
|
# This example uses systemd-boot for UEFI systems
|
|
# For BIOS systems, use GRUB instead
|
|
|
|
# UEFI boot loader (systemd-boot)
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# Alternative: GRUB for BIOS systems
|
|
# boot.loader.grub.enable = true;
|
|
# boot.loader.grub.device = "/dev/sda"; # or "nodev" for UEFI
|
|
}
|