nixos/spec/incinerator/default.nix
2024-01-05 08:46:03 +08:00

26 lines
754 B
Nix

{ lib
, 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 = lib.pipe ./. [
builtins.readDir
(lib.filterAttrs (n: ty: ty == "regular" && n != "default.nix"))
(lib.mapAttrsToList (n: _: ./${n}))
] ++ [ (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" ];
}