refactor(nix/hosts/orion): use real system os options
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
This commit is contained in:
parent
d11eb9d2f9
commit
f79bdeca5a
@ -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 = [
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
modulesPath,
|
|
||||||
config,
|
|
||||||
lib,
|
lib,
|
||||||
root-disk,
|
root-disk,
|
||||||
persist-dir,
|
persist-dir,
|
||||||
|
Loading…
Reference in New Issue
Block a user