snowfield/machines/tower/hardware.nix

35 lines
1.2 KiB
Nix
Raw Normal View History

2023-01-06 23:41:53 +01:00
# 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-03-30 20:18:12 +01:00
{ config, lib, modulesPath, ... }:
2023-01-06 23:41:53 +01:00
{
imports =
2023-04-15 15:09:38 +02:00
[
(modulesPath + "/profiles/qemu-guest.nix")
2023-01-06 23:41:53 +01:00
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2023-04-15 15:09:38 +02:00
{
device = "/dev/disk/by-uuid/274b827e-73aa-46fe-a68c-7f401c76977d";
2023-01-06 23:41:53 +01:00
fsType = "ext4";
};
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`.
2023-04-15 15:09:38 +02:00
# networking.useDHCP = lib.mkDefault true;
networking.interfaces.ens18.useDHCP = lib.mkDefault true;
2023-01-06 23:41:53 +01:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}