diff options
| -rw-r--r-- | hosts/diamond/default.nix | 9 | ||||
| -rw-r--r-- | 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" ]; }; |
