summaryrefslogtreecommitdiff
path: root/hosts/diamond/default.nix
blob: cdf6435a9060a9c734febb92eff74cbeb2f3edc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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
    giada
  ];
}