Created
February 18, 2019 23:17
-
-
Save nivpgir/1bc63eba6dcb5813db5b2069200c0ecf to your computer and use it in GitHub Desktop.
This file contains hidden or 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, ... }: | |
let | |
qca9377_firmware = pkgs.callPackage ./qca9377_firmware.nix { }; | |
in | |
{ | |
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 | |
qca9377_firmware ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment