tohru: rearrange and split up configuration
This commit is contained in:
parent
444c69edd3
commit
d112e705f1
7 changed files with 103 additions and 118 deletions
14
hosts/tohru/boot.nix
Normal file
14
hosts/tohru/boot.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.systemd-boot.editor = false;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
|
||||
supportedFilesystems = [ "ntfs" ]; # for USB drives
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue