aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/turris-omnia-support.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-10-24 19:46:03 +0200
committerKarel Kočí <cynerd@email.cz>2022-10-24 19:46:03 +0200
commite0470d0a5bc6d5cd5cdc3a5b515d12f3594d3ec2 (patch)
tree949120fa65fc8878f04e56e4760b7b43f2294394 /nixos/modules/turris-omnia-support.nix
parentfc435c8d4ed77f2949d944f037a876b7043bcac5 (diff)
downloadnixturris-e0470d0a5bc6d5cd5cdc3a5b515d12f3594d3ec2.tar.gz
nixturris-e0470d0a5bc6d5cd5cdc3a5b515d12f3594d3ec2.tar.bz2
nixturris-e0470d0a5bc6d5cd5cdc3a5b515d12f3594d3ec2.zip
nixos: set device tree and blacklist turris omnia leds
Diffstat (limited to 'nixos/modules/turris-omnia-support.nix')
-rw-r--r--nixos/modules/turris-omnia-support.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/nixos/modules/turris-omnia-support.nix b/nixos/modules/turris-omnia-support.nix
index 8fb8344..9a59212 100644
--- a/nixos/modules/turris-omnia-support.nix
+++ b/nixos/modules/turris-omnia-support.nix
@@ -11,9 +11,13 @@ with lib;
];
# Force load of Turris Omnia leds (not loadded automatically for some
# reason).
- boot.kernelModules = [
- "leds_turris_omnia"
- ];
+ #boot.kernelModules = [
+ # "leds_turris_omnia"
+ #];
+ # Blacklist leds for now as they cause kernel faults
+ boot.blacklistedKernelModules = ["leds_turris_omnia"];
+ # Explicitly set device tree to ensure we load the correct one.
+ hardware.deviceTree.name = "armada-385-turris-omnia.dtb";
# The additional administration packages
environment.systemPackages = with pkgs; [