init
This commit is contained in:
commit
b6cdc78668
210 changed files with 9929 additions and 0 deletions
43
s0mePC-nix/boot/initrd.nix
Normal file
43
s0mePC-nix/boot/initrd.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"nvme"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
"btrfs"
|
||||
"cryptd"
|
||||
];
|
||||
|
||||
supportedFilesystems = {
|
||||
vfat = true;
|
||||
btrfs = true;
|
||||
zfs = lib.mkForce true;
|
||||
};
|
||||
|
||||
kernelModules = [
|
||||
"amdgpu"
|
||||
];
|
||||
|
||||
luks = {
|
||||
devices = {
|
||||
cryptroot = {
|
||||
device = "nvme-KINGSTON_SKC3000S_1024G_AA000000000000000013-part2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
verbose = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue