updated hardware config for frameworkx
This commit is contained in:
1 parent
0aac36b7de
commit
67c322af7c
1 file changed
+33
-9
@@ -1,12 +1,36 @@
|
|||||||
# Replace this entire file with /mnt/etc/nixos/hardware-configuration.nix
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# after running: sudo nixos-generate-config --root /mnt
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# No disks, UUIDs, CPU vendor, or GPU model are guessed here.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
assertions = [
|
imports =
|
||||||
{
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
assertion = false;
|
|
||||||
message = "Framework hardware configuration is missing. Run nixos-generate-config --root /mnt and replace hosts/framework/hardware-configuration.nix with the generated file.";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/57d0089f-2155-4549-b147-17a905fd8f61";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/0C32-725D";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/home" =
|
||||||
|
{ device = "tookland/home";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user