diff options
author | Karel Kočí <cynerd@email.cz> | 2022-08-19 23:59:13 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-08-19 23:59:13 +0200 |
commit | c12a03b8511f4742123959f0cb3c96a441ac2581 (patch) | |
tree | eabfc5c8c962fe482d8dbf545389de92bdebb757 /nixos/modules/turris-defaults.nix | |
parent | 1669d6f75914738306d8dff587d0bcb69b8f6b76 (diff) | |
download | nixturris-c12a03b8511f4742123959f0cb3c96a441ac2581.tar.gz nixturris-c12a03b8511f4742123959f0cb3c96a441ac2581.tar.bz2 nixturris-c12a03b8511f4742123959f0cb3c96a441ac2581.zip |
Improve kernel support and hostapd
Diffstat (limited to 'nixos/modules/turris-defaults.nix')
-rw-r--r-- | nixos/modules/turris-defaults.nix | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/nixos/modules/turris-defaults.nix b/nixos/modules/turris-defaults.nix index f79b8c4..bba3d18 100644 --- a/nixos/modules/turris-defaults.nix +++ b/nixos/modules/turris-defaults.nix @@ -33,23 +33,10 @@ in { # Use early print to the serial console boot.kernelParams = [ "boot.shell_on_fail" - ] ++ optionals (config.turris.board == "mox") [ - "earlycon=ar3700_uart,0xd0012000" "console=ttyMV0,115200" - "pcie_aspm=off" # Fix for crashes due to SError Interrupt on ath10k load - ] ++ optionals (config.turris.board == "omnia") [ - "earlyprintk" "console=ttyS0,115200" ]; # 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" ]; @@ -78,10 +65,6 @@ in { # The additional administration packages environment.systemPackages = with pkgs; [ htop - ] ++ optionals (config.turris.board == "mox") [ - #mox-otp - ] ++ optionals (config.turris.board == "omnia") [ - libatsha204 ]; # No need for installer tools in standard system |