auto-format
This commit is contained in:
parent
b884f4d835
commit
2a7665feba
5 changed files with 106 additions and 39 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
boot = {
|
||||
|
|
@ -10,7 +15,7 @@
|
|||
enableCryptodisk = true;
|
||||
device = "nodev";
|
||||
extraConfig = ''
|
||||
source (crypto0)/os/arch/boot/grub/grub.cfg
|
||||
source (crypto0)/os/arch/boot/grub/grub.cfg
|
||||
'';
|
||||
};
|
||||
efi.efiSysMountPoint = "/boot/efi";
|
||||
|
|
@ -24,13 +29,33 @@
|
|||
};
|
||||
};
|
||||
systemd = {
|
||||
initrdBin = with pkgs; [
|
||||
cryptsetup
|
||||
];
|
||||
initrdBin = with pkgs; [
|
||||
cryptsetup
|
||||
];
|
||||
};
|
||||
kernelModules = [ "cryptd" "uas" "usbcore" "usb_storage" "vfat" "nls_cp437" "nls_iso8859_1" ];
|
||||
availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "rtsx_pci_sdmmc" "dm_crypt" "crypto_user" ];
|
||||
supportedFilesystems = [ "btrfs" "vfat" "luks" ];
|
||||
kernelModules = [
|
||||
"cryptd"
|
||||
"uas"
|
||||
"usbcore"
|
||||
"usb_storage"
|
||||
"vfat"
|
||||
"nls_cp437"
|
||||
"nls_iso8859_1"
|
||||
];
|
||||
availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"nvme"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"rtsx_pci_sdmmc"
|
||||
"dm_crypt"
|
||||
"crypto_user"
|
||||
];
|
||||
supportedFilesystems = [
|
||||
"btrfs"
|
||||
"vfat"
|
||||
"luks"
|
||||
];
|
||||
};
|
||||
kernel.sysctl."kernel.sysrq" = 1;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue