summaryrefslogtreecommitdiff
path: root/hosts/diamond
diff options
context:
space:
mode:
authorname <[email protected]>2026-10-27 23:08:40 +0100
committername <[email protected]>2026-10-27 23:08:40 +0100
commit6c37fcef311c3164a6e394502102e6e488e8c065 (patch)
treed75f4106864fec1a4010d7994eec5150bada82fa /hosts/diamond
parent5d1646b93d94aaa61ecae92d8002a54ec26aa125 (diff)
downloadnixos-6c37fcef311c3164a6e394502102e6e488e8c065.tar.xz
nixos-6c37fcef311c3164a6e394502102e6e488e8c065.zip
hotspot
Diffstat (limited to 'hosts/diamond')
-rw-r--r--hosts/diamond/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/hosts/diamond/default.nix b/hosts/diamond/default.nix
index 4becf12..f708aa6 100644
--- a/hosts/diamond/default.nix
+++ b/hosts/diamond/default.nix
@@ -1,7 +1,14 @@
-{ ... }: {
+{ config, pkgs, ... }: {
imports = [
./hardware-configuration.nix
];
+ boot.extraModulePackages = [ config.boot.kernelPackages.rtl88xxau-aircrack ];
+ boot.blacklistedKernelModules = [ "rtl8xxxu" ];
+
services.upower.enable = true;
+
+ environment.systemPackages = with pkgs; [
+ linux-wifi-hotspot
+ ];
}