mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
Another saturday another useless formatter change. It's my dotfiles, after all alejandra doesn't handle c-style inline comments well.
22 lines
630 B
Nix
22 lines
630 B
Nix
{ config, ... }:
|
|
{
|
|
system.stateVersion = "24.11";
|
|
|
|
boot.loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
editor = false;
|
|
};
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
boot.kernelParams = [
|
|
# https://community.frame.work/t/stability-issues-random-crashes-reboots-and-boot-freezes/62675/4
|
|
"pcie_aspm=off"
|
|
];
|
|
|
|
# Cross building
|
|
# https://discourse.nixos.org/t/how-do-i-get-my-aarch64-linux-machine-to-build-x86-64-linux-extra-platforms-doesnt-seem-to-work/38106/2?u=leana8959
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
|
|
}
|