2022-07-30 19:41:50 -07: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, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
imports =
|
2022-08-09 22:46:41 -07:00
|
|
|
|
[
|
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
2022-07-30 19:41:50 -07:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
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";
|
2022-07-30 19:41:50 -07:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2022-08-09 22:46:41 -07:00
|
|
|
|
{
|
|
|
|
|
|
device = "/dev/disk/by-uuid/4904-4E9E";
|
2022-07-30 19:41:50 -07:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2022-08-11 15:13:23 -07:00
|
|
|
|
fileSystems."/storage" = {
|
|
|
|
|
|
device = "192.168.1.168:/storage";
|
|
|
|
|
|
fsType = "nfs";
|
2023-01-28 22:48:45 -08:00
|
|
|
|
options = [ "x-systemd.automount" "noauto" "_netdev" ];
|
2022-08-11 15:13:23 -07:00
|
|
|
|
};
|
|
|
|
|
|
|
2022-07-30 19:41:50 -07:00
|
|
|
|
swapDevices =
|
2022-08-09 22:46:41 -07:00
|
|
|
|
[{ device = "/dev/disk/by-uuid/97c769a2-55da-475a-8dc0-d74d8bbde514"; }];
|
2022-07-30 19:41:50 -07:00
|
|
|
|
|
2024-06-30 20:15:36 -07:00
|
|
|
|
powerManagement= {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
|
powertop.enable = true;
|
|
|
|
|
|
};
|
2022-07-30 19:41:50 -07:00
|
|
|
|
}
|