hydrogen: init (#20)

Reviewed-on: https://codeberg.org/leana8959/.files/pulls/20
Co-authored-by: Léana 江 <leana.jiang+git@icloud.com>
Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
This commit is contained in:
Primrose 2025-11-02 05:12:02 +01:00 committed by Léana
parent a1024668db
commit 006798d917
31 changed files with 481 additions and 141 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;
}