2023-06-10 16:41:06 -04:00
|
|
|
{
|
2023-06-10 17:37:24 -04:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
modulesPath,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
];
|
2023-06-10 16:41:06 -04:00
|
|
|
|
2023-06-10 17:37:24 -04:00
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "sd_mod"];
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
boot.kernelModules = ["kvm-intel"];
|
|
|
|
boot.extraModulePackages = [];
|
2023-06-10 16:41:06 -04:00
|
|
|
|
2023-06-10 17:37:24 -04:00
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/57411820-f154-497e-9c7e-dfcb1f21c5cf";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
2023-06-10 16:41:06 -04:00
|
|
|
|
2023-06-10 17:37:24 -04:00
|
|
|
fileSystems."/boot/efi" = {
|
|
|
|
device = "/dev/disk/by-uuid/4D09-1D57";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2023-06-10 16:41:06 -04:00
|
|
|
|
2024-01-15 02:28:23 -05:00
|
|
|
fileSystems."/nas/restic" = {
|
|
|
|
device = "192.168.1.199:/mnt/Sutoreji/nix-restic-data/ame";
|
|
|
|
fsType = "nfs";
|
|
|
|
};
|
|
|
|
|
2023-06-10 17:37:24 -04:00
|
|
|
swapDevices = [
|
|
|
|
{device = "/dev/disk/by-uuid/4f69ab31-f6a9-4799-92f1-5abbe0dc9180";}
|
|
|
|
];
|
2023-06-10 16:41:06 -04:00
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2023-06-11 00:42:13 -04:00
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
2023-06-10 16:41:06 -04:00
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
}
|