added framework hardware modules

This commit is contained in:
Steven 2023-03-25 20:30:46 -04:00
parent 490bf5bc86
commit de79166be8
2 changed files with 9 additions and 1 deletions

View file

@ -10,6 +10,12 @@
initrd = {
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
kernelModules = [ "dm-snapshot" ];
luks.devices = {
crypted = {
device = "";
preLVM = true;
};
};
};
kernelModules = [ "kvm-intel" ];
kernelParams = [ "acpi_osi=linux" "module_blacklist=hid_sensor_hub" ];
@ -26,7 +32,7 @@
};
};
};
# 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

View file

@ -10,6 +10,7 @@
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
@ -39,6 +40,7 @@
creatorforge-framework = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-hardware.nixosModules.framework-12th-gen-intel
disko.nixosModules.disko
./hosts/creatorforge.nix
./.modules/base/proxmox-vm-hardware.nix