mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
modulesPath,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
"xhci_pci"
|
|
"ehci_pci"
|
|
"ahci"
|
|
"usb_storage"
|
|
"usbhid"
|
|
"sd_mod"
|
|
];
|
|
boot.initrd.kernelModules = [ "i915" ];
|
|
boot.kernelModules = [
|
|
"kvm-intel"
|
|
"ntsync"
|
|
];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/ebf71dbc-969e-4613-9117-78b4c62e7216";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/mnt/HDD/shared" = {
|
|
device = "/dev/disk/by-uuid/7DFB-C32A";
|
|
fsType = "exfat";
|
|
options = [
|
|
"defaults"
|
|
"nofail"
|
|
"x-systemd.automount"
|
|
];
|
|
};
|
|
|
|
fileSystems."/mnt/HDD/linuxdata" = {
|
|
device = "/dev/disk/by-uuid/f7e27b90-ce06-48bb-b579-d93b1398b21f";
|
|
fsType = "ext4";
|
|
options = [
|
|
"defaults"
|
|
"nofail"
|
|
"x-systemd.automount"
|
|
];
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/72CC-9AE7";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|