diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-08 22:14:13 -0400 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-10-08 22:14:13 -0400 | 
| commit | ae750d5cc7f39a69728051ff577fd0a5abb41049 (patch) | |
| tree | 2cc0e73b82a867d25417d137e23c726a16ee42db /machines/git/hardware-configuration.nix | |
| parent | 50f83e589ba6de2e17d42ae8f729a62344ee89a9 (diff) | |
add git vm
Diffstat (limited to '')
| -rw-r--r-- | machines/git/hardware-configuration.nix | 26 | 
1 files changed, 26 insertions, 0 deletions
| diff --git a/machines/git/hardware-configuration.nix b/machines/git/hardware-configuration.nix new file mode 100644 index 0000000..8c8749c --- /dev/null +++ b/machines/git/hardware-configuration.nix @@ -0,0 +1,26 @@ +# 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, lib, pkgs, modulesPath, ... }: + +{ +  imports = +    [ (modulesPath + "/installer/scan/not-detected.nix") +    ]; + +  boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ]; +  boot.initrd.kernelModules = [ "dm-snapshot" ]; +  boot.kernelModules = [ "kvm-amd" ]; +  boot.extraModulePackages = [ ]; + +  # 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 +  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. +  networking.useDHCP = lib.mkDefault true; +  # networking.interfaces.enp2s0.useDHCP = lib.mkDefault true; +  # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; + +  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +  hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} | 
