init
This commit is contained in:
commit
b6cdc78668
210 changed files with 9929 additions and 0 deletions
46
s0melapt0p-nix/boot/initrd.nix
Normal file
46
s0melapt0p-nix/boot/initrd.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"ehci_pci"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"sdhci_pci"
|
||||
"btrfs"
|
||||
"battery"
|
||||
"thinkpad_acpi"
|
||||
"cryptd"
|
||||
];
|
||||
|
||||
supportedFilesystems = {
|
||||
vfat = true;
|
||||
btrfs = true;
|
||||
zfs = lib.mkForce false;
|
||||
};
|
||||
|
||||
kernelModules = [
|
||||
"i915"
|
||||
];
|
||||
|
||||
luks = {
|
||||
devices = {
|
||||
cryptroot = {
|
||||
device = "/dev/disk/by-id/ata-ST92503010AS_5YH0CJFL-part2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
verbose = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue