-
-
Save tokudan/da00f71933dcfbd1f5faefd676ad2cd7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
{ | |
imports = | |
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> | |
]; | |
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "sr_mod" "rtsx_pci_sdmmc" ]; | |
boot.kernelModules = [ "kvm-intel" ]; | |
boot.extraModulePackages = [ ]; | |
fileSystems."/" = | |
{ device = "/dev/disk/by-uuid/5b19d22a-ee07-45cd-ae58-7583335c0f5d"; | |
fsType = "ext4"; | |
}; | |
fileSystems."/boot" = | |
{ device = "/dev/disk/by-uuid/C2BB-2E4C"; | |
fsType = "vfat"; | |
}; | |
swapDevices = [ | |
{ label = "swap"; } | |
]; | |
nix.maxJobs = lib.mkDefault 4; | |
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; | |
hardware.firmware = with pkgs; [ | |
# firmwareLinuxNonfree | |
(pkgs.callPackage ./qca9377_firmware.nix { }) | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment