mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
fix(systems): nixos.hw.metal for aarch64 SBCs
This commit is contained in:
parent
b4dbcc71f0
commit
9c8f0eca9a
4 changed files with 10 additions and 1 deletions
|
|
@ -5,10 +5,11 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (gensokyo-zone.lib) mkAlmostOptionDefault;
|
||||
in {
|
||||
boot = {
|
||||
loader = {
|
||||
loader = mkIf (config.nixpkgs.system == "x86_64-linux") {
|
||||
systemd-boot.enable = mkAlmostOptionDefault true;
|
||||
efi.canTouchEfiVariables = mkAlmostOptionDefault true;
|
||||
};
|
||||
|
|
|
|||
6
nixos/hw/sbc.nix
Normal file
6
nixos/hw/sbc.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./headless.nix
|
||||
./metal.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue