65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{ modulesPath, ... }:
|
|
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot = {
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"xhci_pci"
|
|
"ehci_pci"
|
|
"ahci"
|
|
"usb_storage"
|
|
"usbhid"
|
|
"sd_mod"
|
|
];
|
|
};
|
|
|
|
loader.grub = {
|
|
enable = true;
|
|
device = "/dev/sda";
|
|
};
|
|
};
|
|
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-uuid/740450af-f376-48d1-9a0c-25a035964700";
|
|
fsType = "btrfs";
|
|
options = [
|
|
"subvol=root"
|
|
"discard=async"
|
|
"compress=zstd"
|
|
];
|
|
};
|
|
|
|
"/home" = {
|
|
device = "/dev/disk/by-uuid/740450af-f376-48d1-9a0c-25a035964700";
|
|
fsType = "btrfs";
|
|
options = [
|
|
"subvol=home"
|
|
"discard=async"
|
|
"compress=zstd"
|
|
];
|
|
};
|
|
|
|
"/nix" = {
|
|
device = "/dev/disk/by-uuid/740450af-f376-48d1-9a0c-25a035964700";
|
|
fsType = "btrfs";
|
|
options = [
|
|
"subvol=nix"
|
|
"discard=async"
|
|
"compress=zstd"
|
|
"noatime"
|
|
];
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/3e24b5cf-e59f-41b1-9eef-107f808b9242";
|
|
fsType = "ext2";
|
|
};
|
|
};
|
|
}
|