Skip to content

Commit 207e60a

Browse files
hostapd working with multiple radios
1 parent 937831b commit 207e60a

File tree

10 files changed

+1258
-762
lines changed

10 files changed

+1258
-762
lines changed

desktop/l/home.nix

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,28 @@
377377
llvmPackages_20.clang-tools
378378
llvmPackages_20.lld
379379

380+
# LLVM C++ Standard Library, compiler runtime, and unwind library
381+
llvmPackages_20.stdenv
382+
llvmPackages_20.libcxxStdenv
383+
llvmPackages_20.libcxxClang
384+
llvmPackages_20.libcxx # Provides libc++.so, libc++.a (libraries)
385+
llvmPackages_20.libcxx.dev # Provides C++ headers
386+
# do NOT include llvm.libc-full, because it will override glibc
387+
#llvm.libc-full
388+
llvmPackages_20.compiler-rt # Provides libclang_rt.builtins*.a
389+
llvmPackages_20.compiler-rt.dev # Provides libclang_rt headers
390+
llvmPackages_20.libunwind # Provides libunwind for exception handling
391+
llvmPackages_20.libunwind.dev # Provides libunwind headers
392+
393+
libclang libclang.dev libclang.lib
394+
380395
# Essential development libraries (minimal headers)
381-
glibc.dev
396+
glibc glibc.dev glibc.static
397+
libgcc libgcc.lib
398+
gcc-unwrapped gcc-unwrapped.lib gcc-unwrapped.libgcc
382399
stdenv.cc.cc.lib
383400
zlib.dev
384-
openssl.dev
401+
openssl openssl.dev openssl.out
385402
ncurses.dev
386403
libyaml.dev
387404

desktop/l2/configuration.nix

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
./hardware-configuration.nix
2525
#./hardware-graphics.nix
2626
./sysctl.nix
27-
./wireless_desktop.nix
27+
#./wireless_desktop.nix
2828
./locale.nix
2929
./hosts.nix
3030
./firewall.nix
@@ -40,8 +40,9 @@
4040
./docker-daemon.nix
4141
#./smokeping.nix
4242
#./distributed-builds.nix
43-
./hyprland.nix
44-
./hostapd.nix
43+
#./hyprland.nix
44+
#./hostapd.nix
45+
./hostapd-multi.nix
4546
];
4647

4748
boot = {
@@ -141,16 +142,16 @@
141142
# # https://nixos.wiki/wiki/NixOS_Wiki:Audio
142143
# services.pulseaudio.enable = false; # Use Pipewire, the modern sound subsystem
143144

144-
security.rtkit.enable = true; # Enable RealtimeKit for audio purposes
145+
# security.rtkit.enable = true; # Enable RealtimeKit for audio purposes
145146

146-
services.pipewire = {
147-
enable = true;
148-
alsa.enable = true;
149-
alsa.support32Bit = true;
150-
pulse.enable = true;
151-
# Uncomment the following line if you want to use JACK applications
152-
# jack.enable = true;
153-
};
147+
# services.pipewire = {
148+
# enable = true;
149+
# alsa.enable = true;
150+
# alsa.support32Bit = true;
151+
# pulse.enable = true;
152+
# # Uncomment the following line if you want to use JACK applications
153+
# # jack.enable = true;
154+
# };
154155

155156
services.openssh.enable = true;
156157
programs.ssh.extraConfig = ''
@@ -176,7 +177,7 @@
176177
# services.libinput.enable = true;
177178

178179
# https://nixos.wiki/wiki/Printing
179-
services.printing.enable = true;
180+
#services.printing.enable = true;
180181

181182
# https://wiki.nixos.org/wiki/Flameshot
182183
# services.flameshot = {
@@ -222,39 +223,39 @@
222223
enableSSHSupport = true;
223224
};
224225

225-
hardware.graphics = {
226-
enable = true; # auto includes mesa
227-
package = pkgs.mesa;
228-
extraPackages = with pkgs; [
229-
libglvnd
230-
libva-vdpau-driver
231-
libvdpau-va-gl
232-
rocmPackages.clr.icd
233-
];
234-
};
235-
services.xserver = {
236-
enable = true;
237-
videoDrivers = [ "amdgpu" ];
238-
xkb = {
239-
layout = "us";
240-
variant = "";
241-
};
242-
};
226+
# hardware.graphics = {
227+
# enable = true; # auto includes mesa
228+
# package = pkgs.mesa;
229+
# extraPackages = with pkgs; [
230+
# libglvnd
231+
# libva-vdpau-driver
232+
# libvdpau-va-gl
233+
# rocmPackages.clr.icd
234+
# ];
235+
# };
236+
# services.xserver = {
237+
# enable = true;
238+
# videoDrivers = [ "amdgpu" ];
239+
# xkb = {
240+
# layout = "us";
241+
# variant = "";
242+
# };
243+
# };
243244

244-
services.desktopManager.gnome.enable = true;
245-
services.displayManager.gdm.enable = true;
245+
# services.desktopManager.gnome.enable = true;
246+
# services.displayManager.gdm.enable = true;
246247

247-
# https://nixos.wiki/wiki/AMD_GPU
248-
systemd.tmpfiles.rules = [
249-
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
250-
];
251-
systemd.services.lactd.wantedBy = [ "multi-user.target" ];
248+
# # https://nixos.wiki/wiki/AMD_GPU
249+
# systemd.tmpfiles.rules = [
250+
# "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
251+
# ];
252+
# systemd.services.lactd.wantedBy = [ "multi-user.target" ];
252253

253-
xdg.portal = {
254-
enable = true;
255-
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
256-
config.common.default = "gtk";
257-
};
254+
# xdg.portal = {
255+
# enable = true;
256+
# extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
257+
# config.common.default = "gtk";
258+
# };
258259

259260
# # https://wiki.hyprland.org/Nix/Hyprland-on-NixOS/
260261
# programs.hyprland = {
@@ -286,7 +287,7 @@
286287

287288
# https://nixos.wiki/wiki/Virt-manager
288289
virtualisation.libvirtd.enable = true;
289-
programs.virt-manager.enable = true;
290+
#programs.virt-manager.enable = true;
290291
virtualisation.spiceUSBRedirection.enable = true;
291292

292293
virtualisation.containers = {

0 commit comments

Comments
 (0)