1
Fork 0
satellite/hardware/laptop.nix

35 lines
982 B
Nix
Raw Normal View History

2021-11-21 14:52:49 +01:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{
2021-11-21 19:08:57 +01:00
# imports =
# [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
# ];
2021-11-21 14:52:49 +01:00
2021-11-21 19:08:57 +01:00
# Basically the content of the import above
hardware.enableRedistributableFirmware = lib.mkDefault true;
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
2021-11-21 14:52:49 +01:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2021-11-21 19:08:57 +01:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/57846041-f177-45eb-aff3-503006bac638";
fsType = "ext4";
};
2021-11-21 14:52:49 +01:00
2021-11-21 19:08:57 +01:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/01E6-A013";
fsType = "vfat";
};
2021-11-21 14:52:49 +01:00
swapDevices = [ ];
2022-12-09 02:32:25 +01:00
nix.settings.max-jobs = lib.mkDefault 8;
2021-11-21 14:52:49 +01:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}