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

42 lines
978 B
Nix
Raw Permalink Normal View History

2021-11-22 00:08:49 +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, ... }:
2021-11-06 13:01:22 +01:00
{
2021-11-22 00:08:49 +01:00
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" ];
#boot.kernelPackages = pkgs.linuxPackages_latest;
2021-11-22 00:08:49 +01:00
fileSystems."/" =
{ device = "/dev/disk/by-label/nixos";
2021-11-22 00:08:49 +01:00
fsType = "btrfs";
options = [ "compress-force=zstd:7" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/3B02-8046";
2021-11-22 00:08:49 +01:00
fsType = "vfat";
};
swapDevices = [ ];
2021-11-06 13:01:22 +01:00
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
boot.initrd.kernelModules = [ "nvme" ];
networking = {
useDHCP = false;
interfaces.enp0s3.useDHCP = true;
hostName = "mc4";
};
2021-11-22 00:08:49 +01:00
2021-11-06 13:01:22 +01:00
}
2021-11-23 11:17:26 +01:00
# vim: set et ts=2 sw=2 ai: