Update repo-managed configs
This commit is contained in:
@@ -1,18 +1,33 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# PLACEHOLDER hardware-configuration.nix
|
||||
#
|
||||
# Replace this file with the REAL generated hardware configuration from the
|
||||
# NixOS installer before installing / switching to this host configuration.
|
||||
#
|
||||
# How:
|
||||
# 1) Boot the NixOS installer ISO
|
||||
# 2) Partition/mount target as planned
|
||||
# 3) Run: nixos-generate-config --root /mnt
|
||||
# 4) Copy the generated /mnt/etc/nixos/hardware-configuration.nix into:
|
||||
# hosts/sam-4screen-desktop/hardware-configuration.nix
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# 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 =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "ums_cypress" "usbhid" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/fb26cb12-6cbf-4dd9-a53d-5fed72351334";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/4A17-D854";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/7ec41b93-8977-4a56-a6be-5eff57b823b0"; }
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user