dotfiles/nix/system/framework/hardware-configuration.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

# 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, modulesPath, ... }:
{
imports =
2022-08-09 22:46:41 -07:00
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2022-08-09 22:46:41 -07:00
{
device = "/dev/disk/by-uuid/3c1098ea-7cfd-4285-9d26-6a5d121d1205";
fsType = "ext4";
};
fileSystems."/boot" =
2022-08-09 22:46:41 -07:00
{
device = "/dev/disk/by-uuid/4904-4E9E";
fsType = "vfat";
};
2022-08-11 15:13:23 -07:00
fileSystems."/storage" = {
device = "192.168.1.168:/storage";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "_netdev" ];
2022-08-11 15:13:23 -07:00
};
swapDevices =
2022-08-09 22:46:41 -07:00
[{ device = "/dev/disk/by-uuid/97c769a2-55da-475a-8dc0-d74d8bbde514"; }];
powerManagement= {
enable = true;
cpuFreqGovernor = lib.mkDefault "powersave";
powertop.enable = true;
};
}