oizys/hardware-configuration.nix

38 lines
1.4 KiB
Nix
Raw Normal View History

2022-11-03 18:24:52 -05: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.
{ config, lib, pkgs, modulesPath, ... }:
2020-10-24 22:55:15 -05:00
{
2022-11-03 18:24:52 -05:00
imports = [ ];
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
2022-11-03 18:24:52 -05:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/07e57f41-bbe1-4e4e-950b-9be902bc6484";
fsType = "ext4";
};
2022-11-03 18:24:52 -05:00
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/0F7D-6BD7";
fsType = "vfat";
};
2022-11-03 18:24:52 -05:00
swapDevices =
[ { device = "/dev/disk/by-uuid/9a725db7-d6dd-42a6-b13a-920eada1c154"; }
2020-10-25 18:55:02 -05:00
];
2022-11-03 18:24:52 -05:00
# 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.enp0s3.useDHCP = lib.mkDefault true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
virtualisation.virtualbox.guest.enable = true;
2020-10-24 22:55:15 -05:00
}