summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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
+ ];
+}