tohru: rearrange and split up configuration

This commit is contained in:
Katherina Walshe-Grey 2024-08-30 18:22:13 +01:00
parent 444c69edd3
commit d112e705f1
7 changed files with 103 additions and 118 deletions

14
hosts/tohru/boot.nix Normal file
View 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
};
}