From 8335ac6f96063ad70cfd2e2920da263976a5f742 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Fri, 5 Jan 2024 08:41:30 +0800 Subject: [PATCH] feat(incinerator): initial configuration --- spec/incinerator/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 spec/incinerator/default.nix diff --git a/spec/incinerator/default.nix b/spec/incinerator/default.nix new file mode 100644 index 00000000..afa6b571 --- /dev/null +++ b/spec/incinerator/default.nix @@ -0,0 +1,18 @@ +{ modulesPath, ... }: { + faucet = { + id = "bc8036643fc24f04ab150ff6a38dcce7"; + auth.openssh.enable = true; + libvirt.enable = false; + io.bluetooth = false; + io.audio = false; + fs.type = "btrfs"; + fs.store = "534f985d-0540-49eb-a2f6-b30ea16f41ad"; + }; + + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + boot.kernelParams = [ "console=ttyS0,115200n8" ]; +}