summaryrefslogtreecommitdiff
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
parent5d1646b93d94aaa61ecae92d8002a54ec26aa125 (diff)
downloadnixos-6c37fcef311c3164a6e394502102e6e488e8c065.tar.xz
nixos-6c37fcef311c3164a6e394502102e6e488e8c065.zip
hotspot
-rw-r--r--hosts/diamond/default.nix9
-rw-r--r--nixos/base.nix2
2 files changed, 9 insertions, 2 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
+ ];
}
diff --git a/nixos/base.nix b/nixos/base.nix
index c2a6378..ba2cc25 100644
--- a/nixos/base.nix
+++ b/nixos/base.nix
@@ -54,7 +54,7 @@
services.tailscale = {
enable = true;
- useRoutingFeatures = "client";
+ useRoutingFeatures = "both";
extraUpFlags = [ "--accept-dns=false" ];
};