configurations of hq services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hardware-configuration.nix 1.0KB

123456789101112131415161718192021222324252627282930313233
  1. # Do not modify this file! It was generated by ‘nixos-generate-config’
  2. # and may be overwritten by future invocations. Please make changes
  3. # to /etc/nixos/configuration.nix instead.
  4. { config, lib, pkgs, ... }:
  5. {
  6. imports =
  7. [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
  8. ];
  9. boot.initrd.availableKernelModules = [ "ohci_pci" "ehci_pci" "ahci" "firewire_ohci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
  10. boot.kernelModules = [ "kvm-intel" "wl" "forcedeth" "b43" ];
  11. boot.kernelParams = [ "irqpoll" "hpet=off" ]; # noapic seems to improve things
  12. fileSystems."/" =
  13. { device = "/dev/disk/by-uuid/4568bf11-6e40-4514-9bc9-3194a299c45f";
  14. fsType = "btrfs";
  15. };
  16. fileSystems."/boot" =
  17. { device = "/dev/disk/by-uuid/67E3-17ED";
  18. fsType = "vfat";
  19. };
  20. zramSwap = { enable = true; priority = 1000; };
  21. swapDevices = [
  22. { device = "/dev/disk/by-uuid/f602ea23-99e5-416b-98d2-ef76cbc5c934";
  23. } ];
  24. nix.maxJobs = lib.mkDefault 2;
  25. services.xserver.videoDriver = "nouveau";
  26. }