summary refs log tree commit diff
path: root/modules/arm.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-07-13 02:53:13 +0200
committerMel <mel@rnrd.eu>2025-07-13 02:53:13 +0200
commitf999d4d67a7440d1281b9a1fc69458eab5d2761f (patch)
tree8809be4deb45d869a41180fc1f17b2e5343b2854 /modules/arm.nix
parenta260883bfd9d206e2a27f046a1709bb25167a014 (diff)
downloadminerals-f999d4d67a7440d1281b9a1fc69458eab5d2761f.tar.zst
minerals-f999d4d67a7440d1281b9a1fc69458eab5d2761f.zip
Replace non-ARM Discord package with Equibop (custom client)
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/arm.nix')
-rw-r--r--modules/arm.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/arm.nix b/modules/arm.nix
new file mode 100644
index 0000000..ac688df
--- /dev/null
+++ b/modules/arm.nix
@@ -0,0 +1,19 @@
+{
+  me,
+  lib,
+  pkgs,
+  ...
+}:
+
+assert lib.assertMsg (
+  me.system == "aarch64-linux"
+) "arm module included on non-arm (${me.system}) architecture.";
+{
+  # 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 pkgs; [
+    equibop # discord
+  ];
+}