Files
nixos-at-home/modules/common/system.nix

22 lines
447 B
Nix

{ config, lib, pkgs, ... }:
{
system.stateVersion = "25.11";
# Dual bootloader: systemd-boot for UEFI, GRUB fallback for legacy/CSM
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = false;
# GRUB EFI fallback at removable media path
grub = {
enable = true;
device = "nodev";
efiSupport = true;
efiInstallAsRemovable = true;
};
};
services.xserver.xkb.layout = "uk";
}