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

View File

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