hydrogen: init

This commit is contained in:
Primrose 2025-11-01 13:04:03 +08:00
parent 16a1666570
commit a00bdb82be
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
10 changed files with 555 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{
{config, ...}: {
system.stateVersion = "24.11";
boot.loader = {
@ -13,4 +13,9 @@
# 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;
}