dfc436802d
The bootloader is firmware-specific, not form-factor: UEFI hosts use systemd-boot, BIOS hosts use GRUB. Drop boot.loader.systemd-boot.enable from workstation.nix and declare it on the MBP instead, so the incoming BIOS-only T400 (GRUB) doesn't have to force it off. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
696 B
Nix
18 lines
696 B
Nix
# Form-factor-agnostic base for the physical graphical NixOS machines. Imported
|
|
# by both ./laptop.nix and ./desktop.nix; those add only the bits that differ
|
|
# between portable and desktop hosts (chiefly the networking backend).
|
|
#
|
|
# The bootloader is NOT set here -- it is firmware-specific, not form-factor:
|
|
# UEFI hosts (MBP, Mac Pro 3,1) use systemd-boot, the BIOS-only T400 uses GRUB.
|
|
# Each machine config declares its own.
|
|
{ ... }:
|
|
{
|
|
features.swayDesktop.enable = true;
|
|
|
|
console.keyMap = "dvorak";
|
|
|
|
# Default-deny inbound. Hosts that run a listening service open their own
|
|
# ports next to where the service is enabled (e.g. sshd -> 22 on X1).
|
|
networking.firewall.enable = true;
|
|
}
|