diff options
Diffstat (limited to 'modules/hardware/arm.nix')
| -rw-r--r-- | modules/hardware/arm.nix | 23 |
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 + ]; +} |
