nixcfg/hwModules/asus/tuf/a16/amd-7030/default.nix

42 lines
783 B
Nix
Raw Normal View History

2024-11-24 20:32:06 -05:00
{
lib,
pkgs,
self,
...
}: {
imports = [
self.nixosModules.hw-common
self.nixosModules.hw-common-amd-cpu
self.nixosModules.hw-common-amd-gpu
self.nixosModules.hw-common-bluetooth
self.nixosModules.hw-common-laptop
self.nixosModules.hw-common-ssd
];
boot = {
initrd.availableKernelModules = ["nvme" "sd_mod" "thunderbolt" "usb_storage" "xhci_pci"];
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
};
environment.systemPackages = with pkgs; [
asusctl
2024-11-24 20:32:06 -05:00
supergfxctl
];
networking.networkmanager = {
enable = true;
wifi = {
backend = "iwd";
powersave = true;
};
};
programs.rog-control-center.enable = true;
services = {
asusd.enable = true;
supergfxd.enable = true;
};
2024-11-24 20:32:06 -05:00
}