mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
70 lines
1.3 KiB
Nix
70 lines
1.3 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
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.initrd.supportedFilesystems = [ "bcachefs" ];
|
|
boot.kernelModules = [
|
|
"kvm-intel"
|
|
"ntsync"
|
|
"hfsplus"
|
|
];
|
|
boot.supportedFilesystems = [
|
|
"hfsplus"
|
|
"exfat"
|
|
"bcachefs"
|
|
"xfs"
|
|
];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/8cdde938-a457-4a54-976c-851cc72944b3";
|
|
fsType = "bcachefs";
|
|
};
|
|
|
|
fileSystems."/mnt/HDD/linuxdata" = {
|
|
device = "/dev/disk/by-uuid/9305cc87-d604-4c01-b597-a9ea8bdcaf66";
|
|
fsType = "xfs";
|
|
options = [
|
|
"defaults"
|
|
"nofail"
|
|
"x-systemd.automount"
|
|
];
|
|
};
|
|
|
|
fileSystems."/mnt/HDD/ortak" = {
|
|
device = "/dev/disk/by-uuid/6F92430E6B0054D2";
|
|
fsType = "ntfs3";
|
|
options = [
|
|
"defaults"
|
|
"nofail"
|
|
"x-systemd.automount"
|
|
"uid=1000"
|
|
"gid=100"
|
|
"umask=022"
|
|
];
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/1B3D-5A7D";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|