Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Hardware configuration is tracked in git now

+43 -1
+1 -1
.gitignore
··· 1 - hardware-configuration.nix 1 + #hardware-configuration.nix 2 2 noah-password 3 3 .direnv/
+42
hardware-configuration.nix
··· 1 + # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 + # and may be overwritten by future invocations. Please make changes 3 + # to /etc/nixos/configuration.nix instead. 4 + { config, lib, modulesPath, pkgs, ... }: 5 + 6 + { 7 + imports = 8 + [ (modulesPath + "/installer/scan/not-detected.nix") 9 + ]; 10 + 11 + boot.kernelPackages = pkgs.linuxPackages_zen; 12 + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ]; 13 + boot.initrd.kernelModules = [ "kvm-amd" "amdgpu" ]; 14 + boot.kernelModules = [ "kvm-amd" "amdgpu"]; 15 + #boot.extraModulePackages = with config.boot.kernelPackages; [ ]; 16 + boot.kernelParams = [ ]; 17 + 18 + hardware.enableRedistributableFirmware = true; 19 + 20 + fileSystems."/" = 21 + { device = "/dev/disk/by-uuid/07019c69-2597-410d-a8a0-a8ffb0f58883"; 22 + fsType = "ext4"; 23 + }; 24 + 25 + fileSystems."/boot" = 26 + { device = "/dev/disk/by-uuid/4B85-C90A"; 27 + fsType = "vfat"; 28 + }; 29 + 30 + swapDevices = [ ]; 31 + 32 + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 33 + # (the default) this is the recommended approach. When using systemd-networkd it's 34 + # still possible to use this option, but it's recommended to use it in conjunction 35 + # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 36 + networking.useDHCP = lib.mkDefault true; 37 + # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; 38 + # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; 39 + 40 + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 41 + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 42 + }