diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-10-12 19:20:07 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-10-12 19:20:07 -0700 |
| commit | ec7ec5112c15550d2f05cce49a87bad968c620a3 (patch) | |
| tree | 5f6ed9730e90e63fbab986c88d86097c349aa086 /machines/nixos/x86_64-linux/rivendell/hardware-configuration.nix | |
| parent | initial setup for the framework destkop (named rivendell) (diff) | |
| download | infra-ec7ec5112c15550d2f05cce49a87bad968c620a3.tar.gz | |
make the remote unlock bits a nix module
Move all the hardware configuration for rivendell into the default.nix.
Diffstat (limited to '')
| -rw-r--r-- | machines/nixos/x86_64-linux/rivendell/hardware-configuration.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/machines/nixos/x86_64-linux/rivendell/hardware-configuration.nix b/machines/nixos/x86_64-linux/rivendell/hardware-configuration.nix deleted file mode 100644 index 02de536..0000000 --- a/machines/nixos/x86_64-linux/rivendell/hardware-configuration.nix +++ /dev/null @@ -1,38 +0,0 @@ -# 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, - inputs, - lib, - modulesPath, - ... -}: - -{ - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - inputs.nixos-hardware.nixosModules.framework-desktop-amd-ai-max-300-series - ]; - - services.fwupd.enable = true; - hardware.enableRedistributableFirmware = true; - - boot.initrd.availableKernelModules = [ - "nvme" - "xhci_pci" - "thunderbolt" - "usbhid" - "usb_storage" - "sd_mod" - "r8169" # ethernet driver - ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - networking.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} |
