aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/turris-mox-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-mox-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-mox-support.nix')
-rw-r--r--nixos/modules/turris-mox-support.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/turris-mox-support.nix b/nixos/modules/turris-mox-support.nix
index b12f511..5b3d17f 100644
--- a/nixos/modules/turris-mox-support.nix
+++ b/nixos/modules/turris-mox-support.nix
@@ -16,6 +16,9 @@ with lib;
"armada_37xx_wdt"
"moxtet" "gpio-moxtet" "turris-mox-rwtm"
];
+ # Explicitly set device tree to ensure we load the correct one.
+ # This fixes boot with some U-Boot versions.
+ hardware.deviceTree.name = "marvell/armada-3720-turris-mox.dtb";
# Systemd seems to not handling hardware watchdog for some reason
systemd.services."nowatchdog" = {