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

42 lines
783 B
Nix

{
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
supergfxctl
];
networking.networkmanager = {
enable = true;
wifi = {
backend = "iwd";
powersave = true;
};
};
programs.rog-control-center.enable = true;
services = {
asusd.enable = true;
supergfxd.enable = true;
};
}