Added a kernel module

Added new nix expr

Added patch

Updated

Updated patch

Renamed variables, bluetooth works on mt7925 now
This commit is contained in:
fwastring 2025-09-04 13:48:41 +02:00
parent 1fc6785205
commit 7c221331d6
3 changed files with 59 additions and 11 deletions

View file

@ -9,7 +9,11 @@
pkgs,
myhostname,
...
}: {
}:
let
btusb = pkgs.callPackage ../../config/btusb.nix { inherit (config.boot.kernelPackages) kernel; };
in
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@ -22,19 +26,18 @@
../../config/sway.nix
];
# services.greetd = {
# enable = true;
# settings = {
# default_session = {
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd hyprland";
# user = "greeter";
# };
# };
# };
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
hardware.enableRedistributableFirmware = true;
boot.extraModulePackages = [
(btusb.overrideAttrs (_: {
patches = [ ../../config/btusb-add-mt7925.patch ];
}))
];
fonts.packages = with pkgs; [
nerd-fonts.comic-shanns-mono