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

22 lines
422 B
Nix

{ config, lib, pkgs, ... }:
{
system.stateVersion = "25.11";
# Try UEFI first, fall back to GRUB for legacy BIOS
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
# GRUB as fallback for legacy/CSM boot
grub = {
enable = true;
device = "nodev";
efiSupport = true;
efiInstallAsRemovable = true;
};
};
services.xserver.xkb.layout = "uk";
}