nixos-config/systems/mc7/hardware-configuration.nix

42 lines
1.3 KiB
Nix
Raw Normal View History

2022-03-20 23:13:28 +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.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ ];
boot.initrd.availableKernelModules = [ "ata_piix" "vmw_pvscsi" "floppy" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
fileSystems."/" =
{ device = "/dev/disk/by-uuid/126b990a-4493-4dfd-a2f8-5392454e1760";
fsType = "btrfs";
options = [ "compress-force=zstd" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/46a8cf4d-679a-44bc-a3b1-886331c133d8";
fsType = "ext4";
};
swapDevices = [ ];
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
# replicates the default behaviour.
networking.useDHCP = lib.mkDefault false;
networking.interfaces.ens192.useDHCP = lib.mkDefault true;
networking.hostName = "mc7";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
2022-07-18 00:42:28 +02:00
# vim: set et ts=2 sw=2 ai: