From 6c37fcef311c3164a6e394502102e6e488e8c065 Mon Sep 17 00:00:00 2001 From: name Date: Tue, 27 Oct 2026 23:08:40 +0100 Subject: hotspot --- hosts/diamond/default.nix | 9 ++++++++- nixos/base.nix | 2 +- 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" ]; }; -- cgit v1.2.3