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; [
|
2024-11-25 15:21:35 -05:00
|
|
|
asusctl
|
2024-11-24 20:32:06 -05:00
|
|
|
supergfxctl
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.networkmanager = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
wifi = {
|
|
|
|
backend = "iwd";
|
|
|
|
powersave = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-11-25 15:21:35 -05:00
|
|
|
programs.rog-control-center.enable = true;
|
|
|
|
|
|
|
|
services = {
|
|
|
|
asusd.enable = true;
|
|
|
|
supergfxd.enable = true;
|
|
|
|
};
|
2024-11-24 20:32:06 -05:00
|
|
|
}
|