summaryrefslogtreecommitdiff
path: root/hosts/diamond/default.nix
blob: c2ffae747f9dc697b5fdd7e682770363bd154e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, pkgs, ... }: {
  imports = [
    ./hardware-configuration.nix
  ];

  boot.extraModulePackages = [ config.boot.kernelPackages.rtl88xxau-aircrack ];
  boot.blacklistedKernelModules = [ "rtl8xxxu" ];
  boot.kernelParams = [
    "i8042.reset"
    "i8042.nomux"
    "i8042.nopnp"
  ];

  services.upower.enable = true;

  environment.systemPackages = with pkgs; [
    linux-wifi-hotspot
  ];
}