summary refs log tree commit diff
path: root/modules/hardware/arm.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-01-06 18:41:15 +0100
committerMel <mel@rnrd.eu>2026-01-06 18:41:15 +0100
commitee5f89c69f60fbe2821b9fdf780146fbec73725c (patch)
treef8079c0b1b972ddaed92937d89a3b95f65c8698d /modules/hardware/arm.nix
parent1c0969c93bbc18d4327bc213fa82df659e6bd61c (diff)
downloadminerals-ee5f89c69f60fbe2821b9fdf780146fbec73725c.tar.zst
minerals-ee5f89c69f60fbe2821b9fdf780146fbec73725c.zip
Switch Bismuth from Nvidia to AMD, move hardware modules to own directory
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/hardware/arm.nix')
-rw-r--r--modules/hardware/arm.nix23
1 files changed, 23 insertions, 0 deletions
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
+  ];
+}