Advertisement
akhmylin

Untitled

Feb 3rd, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  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. {
  7. imports =
  8. [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
  9. ];
  10.  
  11. boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "xhci_pci" "usbhid" "ums_realtek" "usb_storage" "sd_mod" "sr_mod" ];
  12. boot.initrd.kernelModules = [ ];
  13. boot.kernelModules = [ "kvm-intel" ];
  14. boot.extraModulePackages = [ ];
  15.  
  16. fileSystems."/" =
  17. { device = "/dev/disk/by-uuid/689f4e2d-b7b0-45cb-851e-1161645df6c0";
  18. fsType = "ext4";
  19. };
  20.  
  21. swapDevices =
  22. [ { device = "/dev/disk/by-uuid/e28fb7bb-4e5e-4d01-b70e-17c8f8b39301"; }
  23. ];
  24.  
  25. nix.settings.max-jobs = lib.mkDefault 4;
  26. powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
  27. }
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement