I showed you my source code, pls respond
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.

37 lines
1015 B

3 years ago
  1. # This file is controlled by /etc/dotfiles/README.org
  2. { config, lib, pkgs, modulesPath, ... }:
  3. {
  4. imports =
  5. [ (modulesPath + "/installer/scan/not-detected.nix")
  6. ];
  7. boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
  8. boot.initrd.kernelModules = [ ];
  9. boot.kernelModules = [ "kvm-intel" ];
  10. boot.extraModulePackages = [ ];
  11. boot.loader.systemd-boot.enable = true;
  12. boot.loader.efi.canTouchEfiVariables = true;
  13. sound.enable = true;
  14. hardware.pulseaudio.enable = true;
  15. hardware.pulseaudio.support32Bit = true;
  16. fileSystems."/" =
  17. { device = "/dev/disk/by-uuid/2f548eb9-47ce-4280-950f-9c6d1d162852";
  18. fsType = "ext4";
  19. };
  20. fileSystems."/boot" =
  21. { device = "/dev/disk/by-uuid/5BC3-73F3";
  22. fsType = "vfat";
  23. };
  24. swapDevices =
  25. [ { device = "/dev/disk/by-uuid/bef7bf62-d26f-45b1-a1f8-1227c2f8b26a"; }
  26. ];
  27. powerManagement.powertop.enable = true;
  28. powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
  29. }