aboutsummaryrefslogtreecommitdiff
path: root/profiles/hardware/framework-desktop.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-02 13:36:54 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-02 13:36:54 -0800
commit74aefd109ab4df4b41699c7245a995f8fde498c1 (patch)
treee65a6bcbda87f23e1797db5b96c3a5259ede8d74 /profiles/hardware/framework-desktop.nix
parentsimplify configuration for darwin (diff)
downloadinfra-74aefd109ab4df4b41699c7245a995f8fde498c1.tar.gz
cleanup nixos related configurations
Diffstat (limited to '')
-rw-r--r--profiles/hardware/framework-desktop.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/profiles/hardware/framework-desktop.nix b/profiles/hardware/framework-desktop.nix
new file mode 100644
index 0000000..85580d1
--- /dev/null
+++ b/profiles/hardware/framework-desktop.nix
@@ -0,0 +1,30 @@
+{ inputs, ... }:
+{
+ imports = [
+ inputs.nixos-hardware.nixosModules.framework-desktop-amd-ai-max-300-series
+ ];
+
+ boot.loader.efi.canTouchEfiVariables = true;
+ boot.loader.systemd-boot.enable = true;
+
+ boot.kernelModules = [
+ "kvm-amd"
+ "k10temp"
+ "nct6775"
+ ];
+
+ boot.initrd.availableKernelModules = [
+ "nvme"
+ "r8169" # ethernet driver
+ "sd_mod"
+ "thunderbolt"
+ "usb_storage"
+ "usbhid"
+ "xhci_pci"
+ ];
+
+ services.fwupd.enable = true;
+
+ hardware.enableRedistributableFirmware = true;
+ hardware.cpu.amd.updateMicrocode = true;
+}