nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

artemis-hardware.nix (636B)


      1 { config, lib, pkgs, modulesPath, ... }:
      2 
      3 {
      4   imports =
      5     [ (modulesPath + "/profiles/qemu-guest.nix")
      6     ];
      7 
      8   boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" ];
      9   boot.initrd.kernelModules = [ ];
     10   boot.kernelModules = [ ];
     11   boot.extraModulePackages = [ ];
     12 
     13   nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
     14 
     15   # Bootloader
     16   boot.loader.systemd-boot.enable = true;
     17   boot.loader.efi.canTouchEfiVariables = true;
     18 
     19   # Networking, use DHCP
     20   networking.useDHCP = lib.mkDefault true;
     21   # networking.networkmanager.enable = true;  # Easiest to use and most distros use this by default.
     22 
     23 }