From ee5f89c69f60fbe2821b9fdf780146fbec73725c Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 6 Jan 2026 18:41:15 +0100 Subject: Switch Bismuth from Nvidia to AMD, move hardware modules to own directory Signed-off-by: Mel --- modules/hardware/arm.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 modules/hardware/arm.nix (limited to 'modules/hardware/arm.nix') diff --git a/modules/hardware/arm.nix b/modules/hardware/arm.nix new file mode 100644 index 0000000..63a448f --- /dev/null +++ b/modules/hardware/arm.nix @@ -0,0 +1,23 @@ +{ + me, + lib, + auxiliaryPkgs, + ... +}: + +assert lib.assertMsg ( + me.system == "aarch64-linux" +) "arm module included on non-arm (${me.system}) architecture."; +{ + # disable things that just don't work on arm. + + programs.steam.enable = lib.mkForce false; + + # non-machine specific arm package selection. + # used to include replacements for necessary programs with no + # default support for aarch64. (i.e. discord) + + environment.systemPackages = with auxiliaryPkgs; [ + equibop # discord + ]; +} -- cgit 1.4.1