added framework hardware modules
This commit is contained in:
parent
490bf5bc86
commit
de79166be8
2 changed files with 9 additions and 1 deletions
|
|
@ -10,6 +10,12 @@
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||||||
kernelModules = [ "dm-snapshot" ];
|
kernelModules = [ "dm-snapshot" ];
|
||||||
|
luks.devices = {
|
||||||
|
crypted = {
|
||||||
|
device = "";
|
||||||
|
preLVM = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
kernelParams = [ "acpi_osi=linux" "module_blacklist=hid_sensor_hub" ];
|
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
|
# 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
|
# (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
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
url = "github:nix-community/home-manager/release-22.11";
|
url = "github:nix-community/home-manager/release-22.11";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
nixos-generators = {
|
nixos-generators = {
|
||||||
url = "github:nix-community/nixos-generators";
|
url = "github:nix-community/nixos-generators";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
@ -39,6 +40,7 @@
|
||||||
creatorforge-framework = nixpkgs.lib.nixosSystem {
|
creatorforge-framework = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
nixos-hardware.nixosModules.framework-12th-gen-intel
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
./hosts/creatorforge.nix
|
./hosts/creatorforge.nix
|
||||||
./.modules/base/proxmox-vm-hardware.nix
|
./.modules/base/proxmox-vm-hardware.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue