aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-10-23 16:00:36 +0200
committerKarel Kočí <cynerd@email.cz>2022-10-23 16:00:36 +0200
commitfc435c8d4ed77f2949d944f037a876b7043bcac5 (patch)
tree2509cfdd925f977b1161d5e444a9f8f2f21845bd
parent28c6e43220e2aa01f81f992c938f3f5cd40aeb54 (diff)
downloadnixturris-fc435c8d4ed77f2949d944f037a876b7043bcac5.tar.gz
nixturris-fc435c8d4ed77f2949d944f037a876b7043bcac5.tar.bz2
nixturris-fc435c8d4ed77f2949d944f037a876b7043bcac5.zip
nixos/turris-omnia-support: load turris omnia leds module
-rw-r--r--nixos/modules/turris-omnia-support.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/turris-omnia-support.nix b/nixos/modules/turris-omnia-support.nix
index 2479f34..8fb8344 100644
--- a/nixos/modules/turris-omnia-support.nix
+++ b/nixos/modules/turris-omnia-support.nix
@@ -9,6 +9,11 @@ with lib;
boot.kernelParams = [
"earlyprintk" "console=ttyS0,115200"
];
+ # Force load of Turris Omnia leds (not loadded automatically for some
+ # reason).
+ boot.kernelModules = [
+ "leds_turris_omnia"
+ ];
# The additional administration packages
environment.systemPackages = with pkgs; [