Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions nix/builders/nanopc-t6/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,8 @@
"nvme"
"usbhid"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [
"rtw88_8822ce"
"rtw88_pci"
"rtw88_core"
];

boot.extraModulePackages =
let
rtw88 = config.boot.kernelPackages.callPackage ./rtw88 { };
in
[ rtw88 ];
boot.initrd.kernelModules = [ ];

fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
Expand Down Expand Up @@ -119,19 +109,19 @@
# This allows a user to configure the dogebox by only plugging in power
# Caveat: Upon configuring the OS with a proper Wi-Fi network, the user will
# have to reconnect to that network and manually reload the dpanel page.
networking.wireless.iwd.enable = true;
networking.wireless.enable = lib.mkDefault true;

services.create_ap = {
enable = lib.mkDefault true;
settings = {
INTERNET_IFACE = "lo";
WIFI_IFACE = "wlan0";
WIFI_IFACE = "wlP3p49s0";
SSID = "Dogebox";
PASSPHRASE = "SuchPass";
};
};

networking.wireless.interfaces = [ "wlan0" ];
networking.wireless.interfaces = [ "wlP3p49s0" ];

systemd.services.resizerootfs = {
description = "Expands root filesystem of boot device on first boot";
Expand Down