| 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 | { |
| 5 | config, |
| 6 | lib, |
| 7 | pkgs, |
| 8 | modulesPath, |
| 9 | ... |
| 10 | }: |
| 11 | { |
| 12 | imports = [ |
| 13 | (modulesPath + "/installer/scan/not-detected.nix") |
| 14 | ]; |
| 15 | |
| 16 | boot.initrd.availableKernelModules = [ |
| 17 | "nvme" |
| 18 | "ahci" |
| 19 | "xhci_pci" |
| 20 | "usbhid" |
| 21 | "sd_mod" |
| 22 | ]; |
| 23 | boot.initrd.kernelModules = [ ]; |
| 24 | boot.kernelModules = [ "kvm-amd" ]; |
| 25 | boot.extraModulePackages = [ ]; |
| 26 | |
| 27 | fileSystems."/" = { |
| 28 | device = "/dev/disk/by-uuid/5838d50d-e6e8-4ad2-a25e-524f4c46da35"; |
| 29 | fsType = "ext4"; |
| 30 | }; |
| 31 | |
| 32 | fileSystems."/boot/efi" = { |
| 33 | device = "/dev/disk/by-uuid/2319-EE79"; |
| 34 | fsType = "vfat"; |
| 35 | options = [ |
| 36 | "fmask=0022" |
| 37 | "dmask=0022" |
| 38 | ]; |
| 39 | }; |
| 40 | |
| 41 | fileSystems."/home/nmarks/Games/steam" = { |
| 42 | device = "/dev/disk/by-uuid/e7ac46ce-edcb-4763-8717-a7c67de5c7f3"; |
| 43 | fsType = "ext4"; |
| 44 | }; |
| 45 | |
| 46 | swapDevices = [ |
| 47 | { device = "/dev/disk/by-uuid/a4128bb9-239c-4aa9-9777-5067feb77b28"; } |
| 48 | ]; |
| 49 | |
| 50 | # Enables DHCP on each ethernet and wireless interface. In case of scripted networking |
| 51 | # (the default) this is the recommended approach. When using systemd-networkd it's |
| 52 | # still possible to use this option, but it's recommended to use it in conjunction |
| 53 | # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. |
| 54 | networking.useDHCP = lib.mkDefault true; |
| 55 | # networking.interfaces.docker0.useDHCP = lib.mkDefault true; |
| 56 | # networking.interfaces.enp11s0.useDHCP = lib.mkDefault true; |
| 57 | # networking.interfaces.tailscale0.useDHCP = lib.mkDefault true; |
| 58 | # networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true; |
| 59 | |
| 60 | nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; |
| 61 | hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
| 62 | } |