nixos-config/hosts/chunk/hardware-configuration.nix

43 lines
1.2 KiB
Nix
Raw Normal View History

# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
2024-12-15 01:59:29 -05:00
config,
lib,
pkgs,
modulesPath,
...
2024-12-19 02:32:58 -05:00
}:
{
2024-12-15 01:59:29 -05:00
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
2024-12-19 02:32:58 -05:00
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2024-12-15 01:59:29 -05:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/6fff5dd4-8d7a-43fa-85be-eec74ef2089e";
fsType = "ext4";
};
2024-12-19 02:32:58 -05:00
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}