mirror of
https://github.com/lxstinthesky/matrix.git
synced 2025-11-06 19:02:45 +00:00
A simple flake setup with tests and VM support
This commit is contained in:
17
nix/hardware-configuration.nix
Normal file
17
nix/hardware-configuration.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_blk" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
# aarch64-linux?
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
}
|
||||
Reference in New Issue
Block a user