diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/turris-defaults.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/turris-defaults.nix b/nixos/modules/turris-defaults.nix index 9d7a19c..f79b8c4 100644 --- a/nixos/modules/turris-defaults.nix +++ b/nixos/modules/turris-defaults.nix @@ -42,6 +42,14 @@ in { # Use the latest kernel boot.kernelPackages = mkDefault pkgs.linuxPackages_latest; + boot.kernelPatches = mkIf (config.turris.board == "omnia") [{ + name = "omnia"; + patch = null; + extraConfig = '' + LEDS_CLASS_MULTICOLOR y + LEDS_TURRIS_OMNIA y + ''; + }]; # The supported deployment is on BTRFS boot.supportedFilesystems = [ "btrfs" ]; |