refactor(nix/hosts/orion): use real system os options
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled

This commit is contained in:
Price Hiller 2024-05-24 17:18:15 -05:00
parent d11eb9d2f9
commit f79bdeca5a
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 6 additions and 18 deletions

View File

@ -1,8 +1,7 @@
{ modulesPath, pkgs, ... }:
{
# imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
loader = {
@ -13,23 +12,14 @@
kernelParams = [ "audit=1" ];
extraModulePackages = [ ];
initrd = {
# VM modules
availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
"thunderbolt"
"vmd"
"nvme"
"usbhid"
"rtsx_pci_sdmmc"
];
# Actual Host modules
# availableKernelModules = [
# "xhci_pci"
# "thunderbolt"
# "vmd"
# "nvme"
# "usbhid"
# "rtsx_pci_sdmmc"
# ];
systemd = {
enable = true;
initrdBin = [

View File

@ -1,6 +1,4 @@
{
modulesPath,
config,
lib,
root-disk,
persist-dir,